index small if - multiple criteria

orsm6

Well-known Member
Joined
Oct 3, 2012
Messages
515
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Messing around with a formula and struggling to make it work. it is an array formula, currently it works with one condition, but i do not know how to get it working with multiple conditions.

the formula:
Code:
 =IFERROR(INDEX('All Orders'!$A$1:$A$500,SMALL(IF('All Orders'!$D$1:D$500="GMP",ROW('All Orders'!$A$1:$A$500),""),ROW('All Orders'!A1))),"")

i am trying to add add where GMP exists into the formula: GRP and GNP
on another sheet i need to add: ZZZ, PTS, PQF, PQT, PSS and PSW

TIA for any assistance
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX('All Orders'!$A$1:$A$500,SMALL(IF(ISNUMBER(MATCH('All Orders'!$D$1:D$500,List,0)),ROW('All Orders'!$A$1:$A$500)-ROW(INDEX('All Orders'!$A$1:$A$500,1,1))+1),ROWS($1:1))),"")

where List a vertical range housing items like GMP, GRP, and GNP, etc.
 
Upvote 0
Hi Aladin, thank you for the help. I have tried this formula. it returns a blank cell.
formula is on sheet named Nova in cell A2

regarding "List" is this a range containing the items to be matched that is separate from the range being looked up?

also unclear on this section of the formula: ,ROWS($1:1))),"") it is looking up a blank row on the sheet that i have the formula in.
 
Last edited:
Upvote 0
never mind that.... List is a named range containing the GNP and GRP items etc. I believe this is working now. thank you very much for this help.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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