Google Sheets =ArrayFormula(Index(Match)))

WarPigl3t

Well-known Member
Joined
May 25, 2014
Messages
1,611
Im using Google Sheets. I am trying to create an array formula that uses Index Match. It is a multiple criteria match. It does return the first one, but not anymore than that. I have 2 results that meet this criteria and the second one is not being outputed.
=IFERROR(ARRAYFORMULA(INDEX('Punch Card'!$A3:$F, MATCH(1,('Punch Card'!$A3:$A=$A$2)*('Punch Card'!$B3:$B>=$C$4)*('Punch Card'!$B3:$B<=$C$6),0),2)),"No Results")
The above formula is as follows:
=IFERROR(ARRAYFORMULA(INDEX(table range A-F, MATCH(1, (Column A equals a text string in A2)*(Column B is greater than or equal to a date in C4)*(Column B is less than or equal to a date in C6)),"No Results")

Please kindly help me out.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
This code worked for me.
=FILTER('Punch Card'!$B$3:$B,'Punch Card'!$A$3:$A=$A$2, 'Punch Card'!$B$3:$B>=$C$4, 'Punch Card'!$B$3:$B<=$C$6)
 
Upvote 0

Forum statistics

Threads
1,223,638
Messages
6,173,494
Members
452,516
Latest member
druck21

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