Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default How do I show a value for selected text from a dropdown list?

I want to be able to assign a value to each item in a dropdown list, and have
that value appear in another cell when item is selected.
Example:
Items in dropdown list (Cell A1):
boiler 1
boiler 2
boiler 3

boiler 1 is $2,000, boiler 2 is $3,000 and boiler 3 is $4,000
Cell A2 would display $ value of A1
if boiler 2 is selected from list in A1, A2 would show the value $3,000

thanks for your help,
Matt
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I show a value for selected text from a dropdown list?

One way:

=IF(A1="","",1000+RIGHT(A1)*1000)

Biff

"matt" wrote in message
...
I want to be able to assign a value to each item in a dropdown list, and
have
that value appear in another cell when item is selected.
Example:
Items in dropdown list (Cell A1):
boiler 1
boiler 2
boiler 3

boiler 1 is $2,000, boiler 2 is $3,000 and boiler 3 is $4,000
Cell A2 would display $ value of A1
if boiler 2 is selected from list in A1, A2 would show the value $3,000

thanks for your help,
Matt



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default How do I show a value for selected text from a dropdown list?

Or, if the relationship between boiler number and required dollar
amount is not as simple as it is in the example given...

=VLOOKUP(A1,{"boiler 1",2000;"boiler 2",3000;"boiler 3",4000},2,FALSE)

Ken Johnson

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 to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
Dropdown list Need help with dropdown lists Excel Discussion (Misc queries) 2 August 7th 06 08:33 PM
no show all function in dropdown list in Pivot Table Eva Excel Discussion (Misc queries) 1 July 21st 05 02:28 AM
Data Validation - Dropdown List Not Appearing MWS Excel Discussion (Misc queries) 2 April 25th 05 05:05 PM
self-building dropdown list boris Excel Worksheet Functions 1 January 17th 05 05:33 PM


All times are GMT +1. The time now is 10:11 PM.

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"