View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default calculate a value on a new cell based on the list

Hi,
Let's say you have your list in column A and the values in column B, in Cell
E3 you have your data validation arrow so in cell F3 you enter

=+VLOOKUP(E3,A1:B10,2,FALSE)

Each time you select a different item in column E it will bring the right
value in column F

"Ranjit S Hans" wrote:

Hi Excel Gurus,

How do I calculate a value on a new cell based on what the user selects from
a List.

For Example :

If I have a dropdown List of 5 items - APPLE, ORANGE, BANANA, GRAPES,
PINEAPPLE

Selecting APPLE should paste a value 1 in the adjoining cell
Selecting ORANGE should paste a value 2 in the adjoining cell
Selecting BANANA should paste a value 3 in the adjoining cell
Selecting GRAPES should paste a value 4 in the adjoining cell
Selecting PINEAPPLE should paste a value 5 in the adjoining cell

Thanks for your time.

Warm Regards,
Ranjit S Hans