X-Axis Text Field Dynamic Table Challenge

jackmtanalysis

New Member
Joined
Jul 22, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
How would you create a graph to format the X-Axis like attached?

The data is in a table and should update automatically with each new month of data.
However, I can't seem to get a text field to work within the table.

This is the table formula, with two "date" fields "LABEL MO" and "END MO".
END MO is a conventional "mmm yyyy" field and LABEL MO is the text field.

=LET(

END_MO,SORT(UNIQUE(FILTER(Data[Month Year],Data[Month Year]>=TWELVE_MONTHS_FROM_BEG))),

VSTACK(

HSTACK(
"LABEL MO",
"END MO",
"TOTAL MARKET",
"TOTAL "&CLIENT_SHORT,
CLIENT_SHORT&" SHARE"),

HSTACK(

IF(END_MO=MAX(LAST_MONTH),UPPER(TEXT(END_MO,"MMM YYYY")),
IFERROR(IF(MOD(DATEDIF(END_MO,LAST_CALENDAR_END,"M"),MONTH_INTERVAL)=0,UPPER(TEXT(END_MO,"MMM YYYY")),""),"")),

END_MO,

TOTAL MARKET
TOTAL CLIENT UNITS
CLIENT SHARE

I've tried rearranging the fields, keeping and/or eliminating the "Multi-level Category Labels" and many other things that did not work.
I'd like to do this without VBA.
 

Attachments

  • X-Axis Graph.png
    X-Axis Graph.png
    57 KB · Views: 4

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
welcome to the forum. Please help the forum help you and post a data table for the chart?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

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