View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
AccessHelp AccessHelp is offline
external usenet poster
 
Posts: 213
Default If B1=Level 1 then B2=10

Shelly,

Try the formula below in Cell B2:

=if(b1="Level 1",10,if(b1="Level 2",20,if(b1="Level 3",30,if(b1="Level
4",40,""))))



"Shelly" wrote:

Sorry for the double post - but I just realized by Subject line didn't fit at
all!!

Cell B1 is using data validation referring to a named range. There are 4
possible values: Level 1, Level 2, Level 3, Level 4.

I have another named range with the number of days associated with each
Level. So, if the user selects Level 1 from the dropdown list in B1, I want
the default number of days (10) to be put automatically into B2.

If the user selects Level 2 from the dropdown list in B1, I want the default
number of days (20) to be put automatically into B2.

And the same for Level 3 (30 days) and Level 4 (40 days).

I know there is a way to do this, I think by putting the 2 lists next to
each other... but I can't remember how to do it!

Help! Thanks!