Format date as quarter-year

PatrickO

New Member
Joined
Jul 6, 2010
Messages
36
Using Excel 2003.

I have a Gantt chart developed, but I am strugling with a way to have the axis display the dates as Q3-2011 as opposed to the date as 10/1/2011.

I know that I can convert the date into a text version of Q3-2011, but I need to keep the date information intact to have my chart function properly.

Is there a way to format the date to display its respective quarter and year?

Thanks in advance.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
This is something I'd like to be able to achieve too, but I think it isn't going to happen.
 
Upvote 0
I would be curious if there would be any way to use the custom number formatting to achieve this. From my understanding it can only incorporate basic logic, i.e. negative vs. positive.
 
Upvote 0
Why wouldn't you just run a formula like:

="Q"&INT((MONTH(A1)+2)/3)&"-"&YEAR(A1)

And reference both the date Row and the quarter Row in your Chart?

Matty
 
Upvote 0
I think both elements would have to show.

Have you considered creating your Gantt Chart using Conditional Formatting?

Matty
 
Upvote 0

Forum statistics

Threads
1,224,542
Messages
6,179,421
Members
452,913
Latest member
JWD210

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