Excel - create gantt time chart from 4 columns of dates & times

Attached is a doc with 4 colums
C1 - Start date
C2 - End Date
C3 - Start Time
C4 - End Time

I am recording time in 15 minute increments for a deployment plan and would like to fill in the cells in each row according to the date and time data in the 4 columns. There is a 15-minute increment across the the top (x-axis). Can you help me understand how to have cells in this spreadsheet "fill in" based upon the time/date data?

Any help is appreciated!

Thank you, in-advance!
JohnD
TaskTimes.xlsx
LVL 1
John DarbyPMAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

change the values in row 2 to include date and time. You can format them to show only the time, but let them contain the date, too.  Then you can use conditional formatting to highlight the cells.

- Select  the range $H$4:$GC$83
- on the Home ribbon click Conditional formatting > New rule > Use a formula to determine ...
- enter this formula

=AND(H$2>=$C4+$E4,H$2<=$D4+$F4)

mind the placement of the $ signs. Set a format, like a fill color and hit OK.

See attached.

cheers, teylyn
TaskTimes.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John DarbyPMAuthor Commented:
Thank you teylyn! This is so straightforward; much appreciated! :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.