MONTH/DATE (IFS) formula

AliciaGoyanes

New Member
Joined
Sep 29, 2022
Messages
19
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hello,

I have a doubt regarding Excel.

I want to change months every time I pass the 25th day of the previous month.

For example, if it today were to be 26th October, (using the formula TODAY()) I would like to obtain with another formula the next month ("NOV"). It must stay in "NOV" until I reach the 26th of November, and then I would get "DEC" as a result of the formula.

The months I have them in an index, being them in column A5. They stay as:
A5= "NOV"
A6="DEC"
A7="JAN"
.
.
.

Thanks a lot!
 
Maybe
Excel Formula:
=INDEX(A3:A6,MONTH(A2)-8+(DAY(A2)>25))
Hi Fluff, for the first month it does work, however, if I drag down the formula, it is always giving the same month. What it should give is the index as it shows when I drag down the formula.

If its very confusing I can try to include a mini sheet.
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Sorry but I have no idea what you are trying to do.
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,854
Members
449,051
Latest member
excelquestion515

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