Looking up data from a table conditionally

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I would like to know how to create a formula that looks at a value in one
cell, uses that value to find a corresponding value in a separate table, and
then enters that value in my sheet. For example, say I want a value to appear
in cell B1 based on the value in cell A1. If the value in cell A1 is "B", and
the value in a separate table that corresponds to "B" is $500, I want the
formula in cell B1 to return the value "$500". Any ideas on how to do this?

Thanks,
Eric
 
Classic application for the VLOOKUP formula.........

=VLOOKUP(A1,YOURTABLE,2,FALSE)

Where "YOURTABLE" is a named range of two columns listing your values to be
looked up on the left and the results on the right........ie: D1:E5

Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top