Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vlookups formulas

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Vlookups on formulas

Vlookups on formulas

ResolvedVersion 2003

Christina has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

Vlookups on formulas

Hello,

I have done the following formula =LEFT(B17,3), and then I want to do a Vlookup on the results of the above formula to then pull through the corresponding results. For some reason the results come through as #N/A.

Kind regards,

C Christoforou

RE: Vlookups on formulas

Hi Christina,

Thank you for your question.

Can you please tell me what the data is in cell B17.

I assume you are trying to take the first three letters from the text like a country code(Aus).

Is the result of the left formula returning correctly? If so are you using the result as your Lookup Value? When you create a Vlookup formula your Lookup Value must be the value that is contained in the first column of your data.

Let me know if this works.

Regards

Simon

RE: Vlookups on formulas

Hi Simon,

Thank you for your quick response. Cell B17 contains "213 London" therefore I am extracting just "213" which comes through correctly. My vlookup table array has 2 columns:

1st being the column with 213 in it
2nd being a corresponding code number eg: 6

Kind regards,

Christina

RE: Vlookups on formulas

Hi Christina,

Thank you for your response.

If your 213 was in cell A1 and the 6 in cell B1 and in cell C1 you type the value you are looking for in the table, then does your formula reflect the one below:

=vlookup(C1,A1:B1,2,FALSE)

Have a good weekend.

Regards

Simon

 

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:

Go to source of a cell

The default setting in Excel is when you double click in a cell it actives the formula in the cell. If you have created a link and want to directly go to that link (say if on another sheet, click on Tools -options and take off the tick for eidt it directly in cell

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.12 secs.