Returning multiple values for one lookup

BurkeDad

New Member
Joined
Jul 8, 2011
Messages
24
I am trying to create an array formula that returns multiple values - in a row- from a single look value - with only one criteria.

Here is the formula I have sa far - =IF(ROWS(A$67:A67)<=$A$63,INDEX('Individual Facility Information'!$A$5:$A$1145,SMALL(IF('Individual Facility Information'!$G$5:$G$1145=$F$7,ROW('Individual Facility Information'!$G$5:$G$1145)-ROW('Individual Facility Information'!$G$5)+1),ROWS(A$67:A67))),"")

When I hit crtl, shift, enter - it retuns a value of #NUM!. Mr. Excel has this on his youtube page - followed the same logic......:confused:
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi.

Hmmm..the formula seems OK.

Maybe you have leading or trailing spaces that are causing the comparison
IF('Individual Facility Information'!$G$5:$G$1145=$F$7...
to fail

Just in case, try changing this part to
IF(TRIM('Individual Facility Information'!$G$5:$G$1145)=TRIM($F$7)...

HTH

M.
 
Upvote 0
I am trying to create an array formula that returns multiple values - in a row- from a single look value - with only one criteria.

Here is the formula I have sa far - =IF(ROWS(A$67:A67)<=$A$63,INDEX('Individual Facility Information'!$A$5:$A$1145,SMALL(IF('Individual Facility Information'!$G$5:$G$1145=$F$7,ROW('Individual Facility Information'!$G$5:$G$1145)-ROW('Individual Facility Information'!$G$5)+1),ROWS(A$67:A67))),"")

When I hit crtl, shift, enter - it retuns a value of #NUM!. Mr. Excel has this on his youtube page - followed the same logic......:confused:
See this...

http://www.mrexcel.com/forum/showpost.php?p=2696961&postcount=3
 
Upvote 0
Marcelo - you hit the nail right on the head............. I love it. It always seems to be a little thing............

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,357
Members
452,907
Latest member
Roland Deschain

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