Hi,
I am trying to write a formula which takes todays date and goes back 1 month.
Eg Today = 20/11/2008, however my formula would give me 20/10/2008
I have triedHowever this just minuses a day.![]()
=Today()-1
Any help is appreciated.
Thanks
Hi,
I am trying to write a formula which takes todays date and goes back 1 month.
Eg Today = 20/11/2008, however my formula would give me 20/10/2008
I have triedHowever this just minuses a day.![]()
=Today()-1
Any help is appreciated.
Thanks
Last edited by Newton1234; 11-20-2008 at 01:28 PM.
Try:
=Date(Year(Today()),Month(Today())-1,Day(Today())
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
That is great thanks.
Would it be possible to just pick out the month ? Eg, if I am doing todays date minus one month, it would bring back 10 (or October) ?
Thanks
To get just the number 10 for October... you can just use =Month(Today())-1
To get the month name...
=Text(Date(Year(Today()),Month(Today())-1,Day(Today()),"MMMM")
Thanks, it might be a little easier to have the word of the month, however the formula gives me an error of too many arguments and highlights the end "MMMM" part.
Your help is really appreciated.
Good afternoon Newton1234
You could invoke the Analysis ToolPak add-in (Tools > Add-ins) and use this formula :
=EDATE(NOW(),-1)
The just format your cell using custome format to MMMM (or MMM for abbreviated months).
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
Hi, thanks for your help.
I have tried this but I just get an error of #Name?
I selected a custom format for the cell of MMMM.
Any help would be fab.
Thank you very much, that has worked great :-)
Much appreciated
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks