Hi All!
So I was trying to compute for the sum of all values of the "Assignments" in Data 1 that are classified as "Z1" in Data 2. I used the Lookup function as one of the criteria enclosed in SUMIFS but the returned value after resulted to null.
Please help me figure out the better way or correct way to do it.
I wrote the formula like this:
=SUM(SUMIFS('Data 1'!$I:$I,'Data 1'!$G:$G,Report!$C$2,'Data 1'!$A:$A,">="&Report!D$4,'Data 1'!$A:$A,"<="&EOMONTH(Report!D$4,0),'Data 1'!$E:$E,{"ZP","KZ"},'Data 1'!$C:$C,{"21200101","21300502"},'Data 1'!$B:$B,LOOKUP(Report!$B5,'Data 2'!$A:$A,'Data 2'!$B:$B)))
Please see the attachment for the sample file:
SampleProblemSUMIFSandLOOKUPfile.xlsx
[EDITED] There was a precondition of not adding any helper column to either Data 1 or Data 2. Would you know if there is a way to capture the values without adding a helper column?
Bookmarks