Bar chart to show time

sbaily

Board Regular
Joined
May 13, 2007
Messages
162
hi all

i have date (see below) and i want to display this in a barchart. How do i do this?

Column A
Start time
08:30

Column B
Pt arrives
09:00

Column C
Patient seen
09:30

Column D
Patient left
10:20

Column E
end time
11:00

I want to show block of colour on the graph for each stage, the start being 8:30 and end being 11:00. the gaps will be shown in a different colour so i can show wasted time

thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Jon Peltier

MrExcel MVP
Joined
May 14, 2003
Messages
5,174
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
You want a stacked bar chart. The first bar goes from 0 to 8:30, and is formatted with no fill, so it is invisible. The second bar, stacked on the first, has a length of 9:00 minus 8:30, or 0:30. The third bar has length 9:30 minus 9:00, or 0:30. The fourth is 10:20 minus 9:30, or 0:50, and the last is 11:00 minus 10:20, or 0:40. These can all be computed with simple formulas.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,649
Messages
5,838,560
Members
430,555
Latest member
Schturman

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
Top