Vlookup up to find only empty cell in a column

Hi experts excel 2010

How would you write a formula so if in column A cell 2 you have a data value and cell A3 is empty then in A3 then lookup applies but ignore all cells in column a where you already have a value..

Col A.          Col B.
Wcd.            Lookup return nothing
                     Here blank look finds value from look up table
Adds.           lookup returns nothing

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.

route217JuniorAuthor Commented:
The formula has to apply to both text data and numerical data...
Glenn RayExcel VBA DeveloperCommented:
The formula would be something along this line (inserted in B2 and copied down):
=IF(A2<>"","",VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]))

We may need to see a more-detailed example if this isn't helpful.

route217JuniorAuthor Commented:
Thanks Glenn excellent feedback.

If I amend formul to =if (isna (A2 <>"","", vlookup etc...would this work also..
Glenn RayExcel VBA DeveloperCommented:
I assume you want error handling for the VLOOKUP.  In that case the formula would be revised as follows:
=IF(A2<>"","",IFERROR(VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]),"")

Since you have Excel 2010, the IFERROR function is a much better tool to handle #N/A values on VLOOKUPS.


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
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.