Make different calculations depending on current month

cogumelo

Board Regular
Joined
Mar 23, 2006
Messages
181
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

Can anyone help me out sorting this issue i have?

What i'm trying to is to get a formula that makes a calculation for all the previous months (this year and the previous ones). For the current month (and following months) the cell value will always be "".

I've come up with this but it's not working.

=IF(NOT(MONTH(NOW())&YEAR(NOW()));"make calculation 1";"")

thx in advance

joao
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Assuming the date to reference is in cell A1

=IF(A1 < DATE(YEAR(TODAY()),MONTH(TODAY()),1),"Make Calc","")<date(year(today()),month(today()),1),"make calc","")"<date(year(today()),month(today()),1),"make="" calc","")<="" html=""></date(year(today()),month(today()),1),"make>
 
Last edited:
Upvote 0
hi, thanx for your reply. The problem i'm having is that i'm trying to do it without referencing to any other cell. If the file is open on the current month of the year then there is no calculation to be done.

regards
 
Upvote 0
When you say Open on the current month, I am not sure what you mean? Can it be opened on any other day or month asides the current one?
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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