(Msg. 1) Posted: Thu Sep 04, 2008 5:52 pm
Post subject: How to populate a cell with numeric value based on text Archived from groups: microsoft>public>excel>worksheet>functions (more info?)
How do I populate a cell with a numeric value based on the text selection from a pulldown in another cell?
For example, the values available from the cell pulldown in column A are "High", "Medium", and "Low".
I would like the adjacent cells in column B to populate with a numeric value based on what was selected from the pull downs in column A.
e.g. A B
High 5
Low 1
High 5
Medium 3
Medium 3
(Msg. 2) Posted: Fri Sep 05, 2008 3:03 am
Post subject: Re: How to populate a cell with numeric value based on text selected from pull down in adjacent cell? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
One way is to use VLOOKUP
Assuming the pulldowns are in A2 down
you could use this in B2:
=IF(A2="","",VLOOKUP(A2,{"High",5;"Medium",3;"Low",1},2,0))
Copy B2 down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700, Files:359, Subscribers:55
xdemechanik
---
<Garth Rodericks> wrote in message
news:200894205230garth_rodericks@yahoo.com...
> How do I populate a cell with a numeric value based on the text selection
> from a pulldown in another cell?
>
> For example, the values available from the cell pulldown in column A are
> "High", "Medium", and "Low".
> I would like the adjacent cells in column B to populate with a numeric
> value based on what was selected from the pull downs in column A.
> e.g. A B
> High 5
> Low 1
> High 5
> Medium 3
> Medium 3
>
> Can anyone help? Thanks!
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum