Changing Cell Colour

bubba06

New Member
Joined
May 16, 2006
Messages
13
Hi - I have a drop down box with 3 entries in it - 1. Not Started 2. Work In Progress 3. Completed - if i selected "not started" I want that same cell to change to red with "not started" - Orange for "work in progress" and green for "completed" - and if completed is selected i need to make the next cell come up with date (now)

Thanks in Advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
The first part can be completed easily with conditional formatting, I believe the second requires a macro. Are you okay with using macros?
 
Upvote 0
So there are 2 approaches, you can have a macro to run on demand, possible with a button that would enter the date if the drop-down says "completed" or you could go with an event code.

Event codes can get tricky because you have to allow for some human error. If someone marks something complete today, the date is recorded. What happens if next week, or month they change the status:
If intentionally- do you want the date retained, what if it was a mistake and they change it back, the original date is gone.

You could do an event code include a msgbox asking the user to confirm their drop-down selection...
 
Upvote 0
Sounds a little hectic huh - i thought it would be quite basic but it has me scratching my head - i played around with Conditional Formatting but cant seem to get it right with selection and color etc
 
Upvote 0
For the conditional formatting. you would set three individual rules on the cell/column

= "Not Started" and choose your formatting

= "Work in Progress" and choose your formatting

= "Completed" and choose your formatting
 
Upvote 0
Thanks i got that bit done - now all i have to do is figure out how i can put date (now) into the next cell when selecting "complete" any suggestions?
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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