# Challenging Date & Time graph request

#### pamaga

##### Board Regular
Hello all,
I seem to remember an old thread on this subject, but I have searched this forum for a solution and I came up blank. Here's the query - again...

A sheet contains data for one month, for one employee, as follows.
ColA: Dates from the first to the last of the month
ColB: Arrival time
ColC: Lunch pause start
ColD: Lunch pause end
ColE: Departure time

A graph of the above data is required, as follows.

Days of the month along the X-axis (bottom);
time (7am-9pm) along the Y-axis (side). For
each day, a colour bar (say, blue) should go from the the value in colB to C; the lunch break (colD - colC) should be in a different colour (say, green); finally, another colour bar (again in, say, blue) from time colD to colE.

I've run out of ideas - do YOU have a briliant way of solving this?

### Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

#### jdavis9

##### Active Member
I have an example of what you might try.
if you will give me an email address I'll forward it to you.

#### winrz

##### Board Regular
I have a Gantt chart that I have been working on - you might be able to use some of the ideas on how the bars extend from two given dates or times.. send me your email and i will forward it on

#### pamaga

##### Board Regular
winrz,
I sent you a Private Message with my email.

jdavis9,
I sent you an email.

Thanks guys.

Replies
4
Views
235
Replies
0
Views
533
Replies
3
Views
312
Replies
0
Views
496
Replies
0
Views
262

1,148,342
Messages
5,746,192
Members
423,997
Latest member
eakenila

### 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.

### Which adblocker are you using?

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

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