Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Eric Stephens
 
Posts: n/a
Default Looking up data from a table conditionally

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
  #2   Report Post  
CLR
 
Posts: n/a
Default

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




"Eric Stephens" wrote in message
...
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



  #3   Report Post  
Eric Stephens
 
Posts: n/a
Default

Thanks, Chuck! I had forgotten about the VLOOKUP command.

Eric

"CLR" wrote:

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




"Eric Stephens" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can deleted data reappear in a refreshed pivot table in Excel excel_user123456 Excel Discussion (Misc queries) 3 February 23rd 05 08:34 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM


All times are GMT +1. The time now is 05:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"