Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

look up and insert a function with VLOOKUP

look up and insert a function with VLOOKUP

look up and insert a function with VLOOKUP

I know how to use VLOOKUP to look up a number or text string and insert it into a cell.  What I want to know is how to look up a function and have it work in the cell it is inserted into.


    A   B   C   D   E
1   a (E1+D1)   3   6
2   b (E*D)
4   a

In cell B4 I want to put =VLOOKUP(A4, A1:B2,2,False) and have it return a value of 9.  If I put a "b" in cell A4 I want it to return a value of 18.

If any one knows how to do this using functions in excel please reply.  Thanks

RE: look up and insert a function with VLOOKUP

Those formulas are in cells B1 and B2.

RE: look up and insert a function with VLOOKUP

Um, what you have written seems to work once you have corrected the obvious mistake.

leastways, if i type a in a4 i get 9, and if i type b then i get 18?


Greg Locock

RE: look up and insert a function with VLOOKUP

Thanks,  My example was not a good one because I am using multiple sheets in the workbook.  I think that I have found another way to do it but if not I'll post again.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close