jeffgibson55
New Member
- Joined
- Aug 22, 2011
- Messages
- 17
I often need a formula to not return an error value (e.g., "#NA") because it throws off my formulas and pivot tables, so I often find myself throwing an "IF(ISNA" into my formulas to return a custom value or to do another formula in the case of an error otherwise being returned.
But when I have a lot of conditions, this "ISNA" logic gets long and complex so I'd rather use the inverse: "IFNotISNA" a/k/a "IfTrue". Does such an inverse to ISNA exist?
Example: I want to look something up, but if an error is returned I want to look elsewhere - below is how I write these things now (using "IF(ISNA"'s). This is fine for a few conditionals, but when I want to add a bunch of error-conditional stuff using the "IF(ISNA" the formula gets really clunky and hard to follow.
If(ISNA(Vlookup(Sheet1!A1,Sheet2!X1:Z99,2,false)),Vlookup(Sheet1!A1,Sheet3!X1:Z99,2,false),Vlookup(Sheet1!A1,Sheet2!X1:Z99,2,false)
Thanks!
Jeff
But when I have a lot of conditions, this "ISNA" logic gets long and complex so I'd rather use the inverse: "IFNotISNA" a/k/a "IfTrue". Does such an inverse to ISNA exist?
Example: I want to look something up, but if an error is returned I want to look elsewhere - below is how I write these things now (using "IF(ISNA"'s). This is fine for a few conditionals, but when I want to add a bunch of error-conditional stuff using the "IF(ISNA" the formula gets really clunky and hard to follow.
If(ISNA(Vlookup(Sheet1!A1,Sheet2!X1:Z99,2,false)),Vlookup(Sheet1!A1,Sheet3!X1:Z99,2,false),Vlookup(Sheet1!A1,Sheet2!X1:Z99,2,false)
Thanks!
Jeff