Highligh cell using date range (conditional formatting)

lyka4715

New Member
Joined
Jul 3, 2014
Messages
7
a pleasant day guys.

im having a problem of putting all shades using manual. do we have a formula like if I enter start date and end date, cells will be highlighted automatically. please see attached format.

9
http://i65.tinypic.com/24wztw2.jpg
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Do you want different colours for each cell - in which case probably VBA
or if you want 1 colour then a conditional formatting rule

can you load a sample sheet - onto onedrive or dropbox
save me typing it all to give you an example code

BUT
you would use an AND()
test to see if the startdate id > = to the top line
and if the stop date is < = bottom line (2 cells)
 
Upvote 0
Do you want different colours for each cell - in which case probably VBA
or if you want 1 colour then a conditional formatting rule

can you load a sample sheet - onto onedrive or dropbox
save me typing it all to give you an example code

BUT
you would use an AND()
test to see if the startdate id > = to the top line
and if the stop date is < = bottom line (2 cells)

Sir thank you for your reply. here the attached file.

im hoping to have it in VBA but if conditional formatting can do then it will be appreciated as well.

thanks in advance!

https://www.dropbox.com/s/3dtxzbq1tzs5lgr/test.xlsx?dl=0
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

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