Visualize date ranges in a calendar part 2
I have created a new version of Visualize date ranges in a calendar. This excel file let´s you enter names and date ranges (A20:G33). Duplicate names are allowed. Select year and month, days in that month are automatically calculated (row 4). Names whose date ranges are present in the selected month are also automatically shown in cell range A5:A17. Dates are red if they overlap. This workbook contains no vba code.
How I created this excel sheet
Data list validation in cell B2
- Select cell B2
- Go to tab "Data"
- Click "Data Validation" button

- Select List
- Type: Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec in Source:
- Click OK button
Calculate first date in selected month in cell D1
Formula:
Calculate last date in selected month in cell D2
Formula:
Hide cell values in cell range D1:D2
- Select cell range D1:D2
- Press Ctrl + 1
- Go to "Number" tab
- Click "Custom"
- Type ;;;
- Press OK
Calculate dates
Formula in cell B4:
Formula in cell C4:
Copy cell C4 and paste to cell range D4:AF4.
Filter names in column A
Array formula in cell A5:
- Copy array formula
- Paste in formula bar
- Press and hold Ctrl + Shift
- Press Enter
- Copy cell A5 and paste to cell range A6:A17
Red conditional formatting
Conditional formatting formula applied to cell range B5:AF17:
Green conditional formatting
Conditional formatting formula applied to cell range B5:AF17:
Recommended posts:
Visualize date ranges in a calendar in excel
Advanced Gantt Chart Template
Download excel file
Visualize overlapping date ranges part 2.xlsx
Related posts:
Visualize date ranges in a calendar in excel
Dynamic stock chart in excel – Add date ranges
Date ranges: Weeks within a month
Count and visualize specific weekdays in a custom date range


















If you are interested, here are shorter alternate formulas for the first and last day of the month given the setup you posted above...
First Day: =1*(1&B2&B1)
Last Day: =(1&B2&B1)+31-DAY((1&B2&B1)+31)
Note: The parentheses are important and must remain as shown.
Rick Rothstein (MVP - Excel),
Thanks! Of course I am interested.