![]() |
If b1 = 1, then b2 = Yellow
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! |
If b1 = 1, then b2 = Yellow
I think what you need to do is change the data validation on the B2 as
soon as the cell B1 is changed. For this I think you can use the cell change event and than put some code to delete the validation and replace it with new one with an if condition. I think you can get the cell change code in many posts in this group and you can simply record the validation code. Regards Ankur On Jan 4, 5:14*am, Shelly wrote: 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! |
All times are GMT +1. The time now is 05:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com