Calendar day coloring

sassriverrat

Well-known Member
Joined
Oct 4, 2018
Messages
655
Good Morning,

I had a few ideas but most of them involved recreating the calendar and I haven't done that yet...anyway

A user came to me asking about formatting a sheet he's got.

The workbook is a simple "Planner" for work tours: He inputs a day, then inputs the number of days he's going to work and it spits out a "return date", simple enough. This on/off set of formulas just repeats a series of times so he can plan his work schedules out two years in advance (90 day work tours).

He's created a rudimentary calendar just using cells/outlining/and inputting the months such. There's no real formatting behind it- just user input information- so excel has no idea that it's a calendar. He's colored the days home and days away (two colors) manually. Anyone have a simple idea on how to redo this so that the days will self-color based on falling within the date range of "at work" or "at home"? My thought is that the calendar needs to be recreated or somehow excel told to recognize that it's a calendar.

Thanks!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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