Forum Discussion
MarkK777
Apr 13, 2019Copper Contributor
Formula HELP!!
Hi Everybody. I’m struggling with formula and wonder if you can help. I have 2 spreadsheets. The first one represents a list of payments made on a particular day of the month. The columns are dat...
- Apr 14, 2019
Mark, you takes the value from 1D array and shall position row in it using two criteria (date and room #), not row and column.
It could be
=IFERROR( INDEX($U$3:$U$19, MATCH(1, INDEX( ($A3=$T$3:$T$18)*(B$1=$S$3:$S$18),0),0 ) ), 0)
INDEX within MATCH generates array of TRUE and FALSE (or 1 and 0) depend on criteria is met or not. Multiplication means AND condition.
Please check in attached.
MarkK777
Apr 14, 2019Copper Contributor
Here it is
SergeiBaklan
Apr 14, 2019Diamond Contributor
Mark, you takes the value from 1D array and shall position row in it using two criteria (date and room #), not row and column.
It could be
=IFERROR( INDEX($U$3:$U$19, MATCH(1, INDEX( ($A3=$T$3:$T$18)*(B$1=$S$3:$S$18),0),0 ) ), 0)
INDEX within MATCH generates array of TRUE and FALSE (or 1 and 0) depend on criteria is met or not. Multiplication means AND condition.
Please check in attached.
- MarkK777Apr 15, 2019Copper Contributor
- SergeiBaklanApr 15, 2019Diamond Contributor
MarkK777 , you are welcome