Nesting VLOOKUP formula in Excel 2010 returning a blank cell if no data is located

I am running a formula in an Excel spreadsheet that will Lookup data in a column of cells and display the data from two separate Excel Tables. The data is being retrieved correctly, but,  if the 'main' column is blank (column B)...then the remaining row cells should be blank as well.

=IFERROR(IF(ISBLANK($B16),””,VLOOKUP($B16,List_07,2,FALSE)), VLOOKUP($B16,Bi_Fuel_Vehicles,2,FALSE))

Columns C through E will retrieve data from Bi_Fuel_Vehicle table when there is no respective data in List_07 table.


I have a separate cell formulas for three different columns that render blank row cells. This formula is as follows and functions correctly. It is only here as an example:
=IFERROR(IF(ISBLANK($B16),"",VLOOKUP($B16,List_07,5,FALSE)),"")

Thank you in advance,
~Ed
edrz01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael FowlerSolutions ConsultantCommented:
Have you tested to confirm that the cells are blank and do not have spaces etc

what is the result of

isblank($B16)

Michael
0
edrz01Author Commented:
yes the cell is blank and was verified by the second example.
0
Michael FowlerSolutions ConsultantCommented:
Ok, not sure what is happening, could you please post your workbook so we can have a look

Michael
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

edrz01Author Commented:
I hope the attached image clears up some question you may have...

VLookup flow chart with look up codes
0
Ejgil HedegaardCommented:
Your formula makes a lookup in Bi_Fuel_Vehicles when B16 is blank, causing an error.
Move the isblank test up front, like this
=IF(ISBLANK($B16),"",IFERROR(VLOOKUP($B16,List_07,2,FALSE), VLOOKUP($B16,Bi_Fuel_Vehicles,2,FALSE)))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
edrz01Author Commented:
hgholt...that was perfect and what I was looking for... Thank you so much for the solution!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.