ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Drop down lists (https://www.excelbanter.com/excel-worksheet-functions/211872-drop-down-lists.html)

JEMMA

Drop down lists
 
hi i am creating an excel table which contains a data validation drop down
list. I would like to know if there is any way of linking an option selected
from the drop down list to another cell. E.g. my list contains 'Kingston,
Sutton, Wimbledon..' and i would like '£12.00' to appear in another cell when
Kingston is selected, '£8.00' when Sutton is selected and '£3.00' when
Wimbledon is selected. Is this possible? if so how?!

Ashish Mathur[_2_]

Drop down lists
 
Hi,

You can write the following IF() statement. I am assuming that the Data
Validation Drop down list is in cell A1.

=if(A1="Kingston",12,if(A1="Sutton",8,2))

Once you have written this formula, format the cell (Ctrl + 1) as currency.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Jemma" wrote in message
...
hi i am creating an excel table which contains a data validation drop down
list. I would like to know if there is any way of linking an option
selected
from the drop down list to another cell. E.g. my list contains 'Kingston,
Sutton, Wimbledon..' and i would like '£12.00' to appear in another cell
when
Kingston is selected, '£8.00' when Sutton is selected and '£3.00' when
Wimbledon is selected. Is this possible? if so how?!



Max

Drop down lists
 
One way is to use a vlookup

Assume the reference listing (Location - Price)
is in Sheet2's cols A and B
eg: Kingston, 12

In Sheet1,
Assume DVs in A2 down
In B2: =IF(A2="","",VLOOKUP(A2,Sheet2!A:B,2,0))
Format B2 as currency to taste, copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"Jemma" wrote:
hi i am creating an excel table which contains a data validation drop down
list. I would like to know if there is any way of linking an option selected
from the drop down list to another cell. E.g. my list contains 'Kingston,
Sutton, Wimbledon..' and i would like '£12.00' to appear in another cell when
Kingston is selected, '£8.00' when Sutton is selected and '£3.00' when
Wimbledon is selected. Is this possible? if so how?!


JEMMA

Drop down lists
 

Thank you both very much, thats very helpful!

Ashish Mathur[_2_]

Drop down lists
 
You are welcome.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Jemma" wrote in message
...

Thank you both very much, thats very helpful!



JEMMA

Drop down lists
 
i have another question actually. Is it possible to select more than one
choice from a drop down menu? if so how? and please dumb it down for me! haha

Max

Drop down lists
 
Welcome. Pl go back and press the YES buttons (like the ones below) in the 2
responses which answered your query.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"Jemma" wrote:
Thank you both very much, thats very helpful!



All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com