CONTEXT
I am trying to update the roster with new players in Sheet1 using data from Sheet2. However, I am trying to only update the males roster info. I have to first verify it is a new player and also that they are male to update the height.
The logic I applied was that IF
you found "Yes", and that VLOOKUP
returned "Male", then the cell should be populated with a formula that would then use ID # in a VLOOKUP
.
EXCEL SAMPLE
*=IF(VLOOKUP("Yes",Sheet2!C2:D6, 2, FALSE) ="Male", "=VLOOKUP(A3, Sheet2!A2:D10, 2, FALSE)", "No")
Sheet1 Sheet2
ID # Height ID# Height New Gender
100 No 100 66" No Female
101 * 101 72" Yes Male
102 No 102 65" Yes Female
PROBLEM
The output of the * is =VLOOKUP(A3, Sheet2!A2:D10, 2, FALSE)
in the cell. Is there a way to get Excel to actually evaluate and populate that cell as if that was the original formula?
INDIRECT
function – PeterT