Is there a way to tell Excel to compute chart axis values?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,535
Office Version
  1. 365
Platform
  1. Windows
I am generating a chart from this table. I am posting only part of the table for simplicity.

Book1
CDEF
5Dates
6StartEndDaysX Axis
76/10/20 8/31/20 828/31/20 (82)
88/11/20 10/27/20 7710/27/20 (77)
910/12/20 2/02/21 1132/02/21 (113)
101/20/21 2/20/21 312/20/21 (31)
112/20/21 3/07/21 153/07/21 (15)
123/07/21 4/02/21 264/02/21 (26)
Sheet1
Cell Formulas
RangeFormula
E7:E12E7=D7-C7
F7:F12F7=TEXT(D7,"m/dd/yy") & CHAR(10) & " (" & E7 & ")"


I want the X Axis labels to look like this, which they do very nicely using the data in Column F, which is generated from the data in Columns D & E.

1633971172373.png


Is there a way I can generate thise X Axis labels in the chart from the data in D & E and get rid of Column F?

Thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,429
Messages
6,124,834
Members
449,192
Latest member
mcgeeaudrey

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