I'm new to the indirect function. If I put a full address of a cell in another cell I have gotten it to work. But now I have part of the address (the row) in a cell and need to be able to combine that with what I know.
I have a table with names in column B and dates in row 1. The rest of the tables is the sales amount for the employee listed in column B on the date in row 1. (see data sheet). I want to find the max and the average for certain days. I can do this if the names are in the same order in the report and the data file. but this isn't always the case.
I can use a match to find the right row to look.
=MATCH(A2,data!B:B,0)
So I thought using this knowledge I could use indirect. exceljet.net had an article at formula/indirect-named-range-different-sheet
So I tried this: {=MAX(MAXIFS(INDIRECT("'data'!$c'"&B2&":$N"&B2),data!$C$1:$N$1,report!$I$1:$L$1))}
but I got #REF
The file is attached.
Bookmarks