Hi, I have below formula where it initially checks if B is empty and if it is empty it does a vlookup with values in respective "A" column.
First vlookup is working as expected but need help with 2nd vlookup which is highlighed in red.
for 2nd vlookup i need formula that checks values in both column A and B in both the sheets without including any helper column and comes up with a value from the grand total column.
IF($B4= "",VLOOKUP($A4,Pivot!A:AZ,MATCH("Grand Total",Pivot!$A$2:$AZ$2,0),0),VLOOKUP($B4,Pivot!A:AZ,MATCH("Grand Total",Pivot!$A$2:$AZ$2,0),0))
First vlookup is working as expected but need help with 2nd vlookup which is highlighed in red.
for 2nd vlookup i need formula that checks values in both column A and B in both the sheets without including any helper column and comes up with a value from the grand total column.
IF($B4= "",VLOOKUP($A4,Pivot!A:AZ,MATCH("Grand Total",Pivot!$A$2:$AZ$2,0),0),VLOOKUP($B4,Pivot!A:AZ,MATCH("Grand Total",Pivot!$A$2:$AZ$2,0),0))