Image-
This worked perfectly at first, so I thought. But for some reason it is pulling the letter 1 down from it's match (See highlighted matches and it returns that below it). The far right in red is a text only sample of desired outcome from the data on the far left.
I've tried so much. I found that formula [FONT=inherit !important][FONT=inherit !important]online[/FONT][/FONT] and have been messing with it for over 2 hours.
My original need was to auto find the possibilities (1,2,3, and 4) Then have them formulate themselves to the right without so much manual formula input; however, I can't figure out how. VLOOKUP only seems to return one result, this seems to be my best best and having to manually enter the lookup value(A2, A7, Etc) and paste the formula as well as modifying all of the cell references.
I'm open to anything. I'm not good enough for Macros/[FONT=inherit !important][FONT=inherit !important]VBA[/FONT][/FONT] yet obviously.
The best scenario is it would find each unique identifier "pump" and add it to the column then sort out the options "product" at that pump.
Ex: It searches the column and finds 1-4, It then puts 1 and all of it's options, then 2, etc.. Not sure if that's reasonable.
{=IF(ROWS($F$2:F2)>E$2,"",INDEX(Product,SMALL(IF(Pump=D$2,ROW(Pump)),ROWS($F$2:F2))))}
This worked perfectly at first, so I thought. But for some reason it is pulling the letter 1 down from it's match (See highlighted matches and it returns that below it). The far right in red is a text only sample of desired outcome from the data on the far left.
I've tried so much. I found that formula [FONT=inherit !important][FONT=inherit !important]online[/FONT][/FONT] and have been messing with it for over 2 hours.
My original need was to auto find the possibilities (1,2,3, and 4) Then have them formulate themselves to the right without so much manual formula input; however, I can't figure out how. VLOOKUP only seems to return one result, this seems to be my best best and having to manually enter the lookup value(A2, A7, Etc) and paste the formula as well as modifying all of the cell references.
I'm open to anything. I'm not good enough for Macros/[FONT=inherit !important][FONT=inherit !important]VBA[/FONT][/FONT] yet obviously.
The best scenario is it would find each unique identifier "pump" and add it to the column then sort out the options "product" at that pump.
Ex: It searches the column and finds 1-4, It then puts 1 and all of it's options, then 2, etc.. Not sure if that's reasonable.
{=IF(ROWS($F$2:F2)>E$2,"",INDEX(Product,SMALL(IF(Pump=D$2,ROW(Pump)),ROWS($F$2:F2))))}
Last edited: