Get same result without helper column (Array formula challenge for MrExcel Gurus)

President

Board Regular
Joined
Aug 27, 2014
Messages
130
please see table below , also file uploaded for easy reference in dropbox https://www.dropbox.com/s/gzftk0j51h083j0/Book1.xlsx?dl=0


the only issue, i have is, that how can i wrap this formula =IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(1:1))),"")

inside =OFFSET(Sheet1!$A$6,0,0,MATCH("*",Sheet1!$A:$A,-1)-5,1) so that i only have one single formula in the sheet that i put in Data validation and it will give me the extract result

in simple words, i want to get rid of the cells from A5 downward.

is this even possible. i know it is not easy, but i have no doubt on your genius brains.

i would really appreciate your help.


Excel 2010
ABCDEFGH
1Search statesDATA VALIDATIONStateName
2MaineEdward=OFFSET(Sheet1!$A$6,0,0,MATCH("*",Sheet1!$A:$A,-1)-5,1)KansasSmith
3MaineJohnson
4South DakotaWilliams
5Search resultsMontanaJones
6JohnsonDelawareBrown
7TaylorKentuckyDavis
8LopezSouth CarolinaMiller
9EdwardSouth DakotaWilson
10 OregonMoore
11 MaineTaylor
12 OregonAnderson
13 DelawareThomas
14 MaineLopez
15 KansasLarsen
16 MaineEdward
17 
Sheet1
Cell Formulas
RangeFormula
A6{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(1:1))),"")}
A7{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(2:2))),"")}
A8{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(3:3))),"")}
A9{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(4:4))),"")}
A10{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(5:5))),"")}
A11{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(6:6))),"")}
A12{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(7:7))),"")}
A13{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(8:8))),"")}
A14{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(9:9))),"")}
A15{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(10:10))),"")}
A16{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(11:11))),"")}
A17{=IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(12:12))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Im confused here, what exactly your desired results from your table (State and Name)? And what condition, is that your data validation?
 
Last edited:
Upvote 0
Im confused here, what exactly your desired results from your table (State and Name)? And what condition, is that your data validation?

the desired result is already there A2 and B2. question is how can you do the same thing without using the helper cells from cell A6 downward , i mean the cells that have these formulas in them =IFERROR(INDEX($H$2:$H$16,SMALL(IF($A$2=$G$2:$G$16,ROW($G$2:$G$16)-MIN(ROW($G$2:$G$16))+1,""),ROW(1:1))),"")
 
Upvote 0
thank you Peter.

i come to the conclusion that it is not possible do get this done without the use of helper column.

you are proven right in this case :)
 
Upvote 0

Forum statistics

Threads
1,216,360
Messages
6,130,175
Members
449,562
Latest member
mthrasher16

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top