Graphically depict durations

SandsB

Well-known Member
Joined
Feb 13, 2007
Messages
705
Office Version
  1. 365
Platform
  1. Windows
My data file has about 50 rows of data - varies each day. Could also be over a 100 or less than 10. The range of dates could be a few weeks to several months. Table 1 attached.
Somehow, I need to get this data displayed in a graphical format (Chart2 attached) - could be a chart, could be cells with background color like the attached. The graph needs to show the dates from the Create date to the Update date. EX: In row 1 the report was created on 3/11 and updated on 3/28 so those dates and everything in between is color coded. I can't use M$ Project or any other tool - just Excel. Could be formulas or VBA.
 

Attachments

  • Table1.jpg
    Table1.jpg
    130.2 KB · Views: 5
  • Chart2.jpg
    Chart2.jpg
    131.3 KB · Views: 5

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
There may be a better way to do it but here's what I'm doing. I'm using the same chart I used in the example but using conditional formatting and this formula

=IF(AND(AM21>=$F2,AM21<=$G2),"X","")

Where row 21 is the date row in my chart and F & G have the Create & Update dates in my data.

Then I use conditional formatting if there's an "X" in the cell. Kindof ugly but it works.
 
Upvote 0

Forum statistics

Threads
1,216,763
Messages
6,132,584
Members
449,737
Latest member
naes

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