Forum Discussion

MarkK777's avatar
MarkK777
Copper Contributor
Apr 13, 2019
Solved

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...
  • SergeiBaklan's avatar
    SergeiBaklan
    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 

Resources