Months in the quarter

jswillcox

New Member
Joined
Dec 30, 2015
Messages
32
I am working on a comission tracker. One thing I would like is for three different boxes to show the three months in a quarter. So when I share my tracker it will not have to be manually input.

G7 = Jan
G8 = Feb
G9 = Mar

Until this quarter ends. Then it updates these boxes to the next quarters months.

G7 = Apr
G8 = May
G9 = June

ect.

I appreciate any help you can provie!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
One way - put this formula in cell G7 and copy it down to cell G9...

=TEXT(28*ROWS($1:1)*(1+3*INT((MONTH(TODAY())-1)/3)),"mmmm")
 
Upvote 0
Another way - format G7:G9 as "MMM".
If the OP chooses to use your suggestion of formatting the cells to produce month name, then this simple formula can be used in cell G7 (cells G8 and G9 would remain the same as you posted)...

=28+84*INT((MONTH(TODAY())-1)/3)

I would note that the dates that end up in cells G7:G9 with my method would not be usable for their date values, only for their month names (such as would appear in header cells or a text string output).
 
Last edited:
Upvote 0
If the OP chooses to use your suggestion of formatting the cells to produce month name, then this simple formula can be used in cell G7 (cells G8 and G9 would remain the same as you posted)...

=28+84*INT((MONTH(TODAY())-1)/3)

I would note that the dates that end up in cells G7:G9 with my method would not be usable for their date values, only for their month names (such as would appear in header cells or a text string output).
I guess if it needed to be date relevant, you could use this formula...

=DATE(YEAR(NOW()),1,28+84*INT((MONTH(NOW())-1)/3))

but now my formula is only one function call less than yours, so I am not sure if that is a significant enough difference to warrant choosing my functions over yours.
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

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