Forum Discussion
Formula HELP!!
- 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.
So I kind of stuck here.
Thanks again for a quick response
Hi Mark - unfortunately there was no file attached, could you please repeat it.
- MarkK777Apr 14, 2019Copper Contributor
Here it is
- Detlef_LewinApr 14, 2019Silver Contributor
I would suggest a pivot table.
Date in the columns area, Room # in the rows area and Pay in the values area.
- SergeiBaklanApr 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