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 create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

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