Im using this formula in excel spreadsheets.
=INDEX(Sheet3!B:B,(MATCH(Sheet2!A2,Sheet3!A:A,0)))
If I do not get a match: I would like this formula to leave the cell blank instead of #N/A.
How can I fix the formula?
...and to take it one step further, I just test the MATCH function, as it is a bit less overhead, and a bit cleaner...
[tt]
=if(isna(MATCH(Sheet2!A2,Sheet3!A:A,0)), "", INDEX(Sheet3!B:B,(MATCH(Sheet2!A2,Sheet3!A:A,0)))
[/tt]
Skip, Just traded in my old subtlety... for a NUANCE!
Actually when I do this in real life, I only test a CountIf, because (I think) it takes even less overhead. But I'm not positive that's true.... I'd be interested to know which is 'faster'.
Yeah, yeah, yeah - So I'm not "down" with the lingo of you rascally kids and your "1337 speak"
I'm sorry, Skip. ITF (in the future), I will make EAP (every attempt possible) to use as many TLAs (three-letter acronyms) AHP (as humanly possible). I'll even GSFAT (go so far as to) use ETLAs (extended three-letter acronyms) and VLTLAs (very long three-letter acronyms). ITB (is that better)?
[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read FAQ 181-2886 before posting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.