Conditional Rule question

1953emp

New Member
Joined
Jul 22, 2014
Messages
13
I have a cell with a data validation list containing 3 items, "Internal", "External", "TBD". Based on what is selected in that list I want an integer to be placed in the next cell. IE: User selects "Internal" a rule puts a 1 in the next cell to the right. I can do a conditional format where I set a cell color based on a cell value but I can't get through this one. Any help is appreciated.
Thanks
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
In the next cell to the right put
=IF( cell with data validation = "internal", 1 ,"" )
 
Upvote 0
what do you want to put in the cell for the other selections

=IF( cell with data validation = "internal", 1 ,IF( cell with data validation = "External", 2 , IF( cell with data validation = "TBD", 3 ,"" ) ) )
 
Upvote 0
Solution
what do you want to put in the cell for the other selections

=IF( cell with data validation = "internal", 1 ,IF( cell with data validation = "External", 2 , IF( cell with data validation = "TBD", 3 ,"" ) ) )
Thanks a ton, that functions perfectly.
 
Upvote 0
just an added note
if you are using a later version of excel - then IFS() maybe possible, just for completeness and if someone else searching the forum who has 365 version and 2019 versions
=IFS( cell with data validation = "internal", 1 ,cell with data validation = "External", 2 , cell with data validation = "TBD", 3 , TRUE , "")

again with excel 2019 and 365 versions
=SWITCH(cell with data validation,"internal",1,"External",2,"TBD",3,"")
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top