Forum Discussion
Colt45
Apr 30, 2019Copper Contributor
Help breaking down formula
Hi, I am new to the community and somewhat new to the formula side of excel. Working on an excel sheet created by someone else. I would like help breaking down this formula. What do the individual p...
- Apr 30, 2019
Also Sheet1 is a defined Name
If you go to the Formulas menu and click Defined Name you'll see where that Sheet1 is referring to
Wyn Hopkins
Apr 30, 2019MVP
Hi Colt45
=IF(
OR(
HLOOKUP($B$1,Sheet1,$AD6,FALSE)="n/a",
HLOOKUP($B$1,Sheet1,$AD6,FALSE)=0
),"",
HLOOKUP($B$1,Sheet1,$AD6,FALSE)
)
So the HLOOKUP part is trying to find a matching value to B1 across the columns of Sheet1
it will then bring back the value from the row number that is in AD6
The IF part is checking if that returned value is "n/a" or 0 in which case it returns "" (empty cell)
- Wyn HopkinsApr 30, 2019MVP
Also Sheet1 is a defined Name
If you go to the Formulas menu and click Defined Name you'll see where that Sheet1 is referring to
- Colt45May 07, 2019Copper Contributor
- Wyn HopkinsMay 07, 2019MVPGlad it helped