I have the following formula:
=(VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE))
I need it so that if i dont have anything selceted from a dropdown in that row, it will return Blank instead of N/A.
Thanks in advance.
I have the following formula:
=(VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE))
I need it so that if i dont have anything selceted from a dropdown in that row, it will return Blank instead of N/A.
Thanks in advance.
Last edited by elkhntr4; 09-13-2012 at 12:28 PM.
As i see that you use Excel 2003, try with ISNA function in front of your formula.
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
=IF(A18="","",(VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE))
or
=if(isna(VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE)),"",(VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE))
Life's a spreadsheet, Excel!
Say thanks, Click *
Problem Solved! Thanks guys!
Its not the most elegant solution but perhaps:
=IF(ISERROR(your vlookup formula), "", (your vlookup formula)
Another one:
=IF(COUNTIF(Sheet2!A15:A26,A18)=0,"",VLOOKUP(A18,Sheet2!$A15:B26,2,FALSE))
I would suggest that you use absolute addressing for your table references, as well.
Hope this helps.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks