vlookup function

Forum home » Delegate support and help forum » Microsoft Excel Training and help » VLOOKUP Function

VLOOKUP Function

resolvedResolved · Medium Priority · Version 365

Cameron has attended:
Excel Advanced course

VLOOKUP Function

Hello,

I need a little bit of help with a VLOOKUP.

Is it possible to run a VLOOKUP function on a list of data and if the 'lookup value' is not found in the source data, instead of returning '#N/A' the value remains as it was originally?

Does this make sense?

Many thanks,
Cameron

RE: VLOOKUP Function

Hi Cameron,

It sounds like you need a formula to swap out the #N/A when you get it.

You might need the IFNA function

=IFNA(Value,Alternative if there is an #N/A error)

That would look like this if A1 is your lookup value

=IFNA(VLOOKUP(A1,Table Array,Col Num,FALSE),A1)

Does that help?


Kind regards

Richard Bailey
Microsoft Certified Trainer

Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Mon 6 Mar 2017: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Selecting blank cells within a range of data

Select the range of data which includes the blank cells that you would like to select. Press the F5 key, this will take you to the GoTo dialogue box where you can click on Special and then select Blanks.

View all Excel hints and tips


Server loaded in 0.05 secs.