Change a particular cell colour when columns are complete

jeremyp

New Member
Joined
Apr 30, 2014
Messages
2
I'm trying to change a cell, at the bottom of a column, to a different colour once all the cells above, in that column, have a date in. Ie once all the cells have dates against purchase orders, then the cell would turn green and say Completed. I know you can use conditional formatting for part of it but I am losing the will! thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
If your dates are in A2:A11, and the cell you want to color is A12, you could try this:

With cell A12 selected, choose Conditional Formatting -> New Rule, then Use a Formula...
In the formula bar, enter
Code:
=COUNTIF($A$2:$A$11, ">"&0)=COUNTA($A$2:$A$11)+COUNTBLANK($A$2:$A$11)

This technically only checks that every row in your date column has a number greater than 0, but that would include dates since dates are just formatted integers. Will that work?
 
Upvote 0
Thats great SteelReyn. It does exactly what I'm trying to do. Thank you so much for your help.
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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