peter short
New Member
Hi,
Thanks for helping out if you can.
I have a large data set with items laid out as such going down many thousands of rows
ID Item Name Manuf No Len Count of Item Name
61379672 PIE990124446-au 990124446 15
61329790 PIELAR228M4-000-cc LAR228M4 18
61329691 PIEFSP228P9A4-003-ed FSP228P9A4 20
61329745 ABB64102931-fe 990124446 14
61329801 MOOFM2P128PBA4-dd FM2P128PBA4 17
I have run a pivot table to make a list of duplicate manufacturer numbers in the dataset from which I want to output an ID in the next column that correpsonds to the manuf No that has the lowest len count from the manufacturer name.
The duplicate output list looks like this for which I want to populate the ID column with the lowest len count ID for a particular Manuf No (which requires comparing across arrays).
Man No ID
990124446 61329745
10003 need
10017 need
10018 need
10020 need
10023 need
10024 need
10025 need
THe formula I have written works in isolation
=INDEX($A$1:$A$32942,MATCH(1,(Output!A2=$C$1:$C$32942)*(MIN(IF($D$1:$D$32942=Output!A2,$D$1:$D$32942))=$D$1:$D$32942)),0), however is failing to populate as intended when I drag down.
I have never worked with ctrl+shift+enter formulas before
Does anyone have any ways to write a formula to achieve this task in as few steps as possible without writing a macro?
Many thanks,
Peter
Thanks for helping out if you can.
I have a large data set with items laid out as such going down many thousands of rows
ID Item Name Manuf No Len Count of Item Name
61379672 PIE990124446-au 990124446 15
61329790 PIELAR228M4-000-cc LAR228M4 18
61329691 PIEFSP228P9A4-003-ed FSP228P9A4 20
61329745 ABB64102931-fe 990124446 14
61329801 MOOFM2P128PBA4-dd FM2P128PBA4 17
I have run a pivot table to make a list of duplicate manufacturer numbers in the dataset from which I want to output an ID in the next column that correpsonds to the manuf No that has the lowest len count from the manufacturer name.
The duplicate output list looks like this for which I want to populate the ID column with the lowest len count ID for a particular Manuf No (which requires comparing across arrays).
Man No ID
990124446 61329745
10003 need
10017 need
10018 need
10020 need
10023 need
10024 need
10025 need
THe formula I have written works in isolation
=INDEX($A$1:$A$32942,MATCH(1,(Output!A2=$C$1:$C$32942)*(MIN(IF($D$1:$D$32942=Output!A2,$D$1:$D$32942))=$D$1:$D$32942)),0), however is failing to populate as intended when I drag down.
I have never worked with ctrl+shift+enter formulas before
Does anyone have any ways to write a formula to achieve this task in as few steps as possible without writing a macro?
Many thanks,
Peter