Convert month to number and subtract one

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a date in cell A1 of December 1, 2005. I do a =text(A1) and it
returns December. I want to now get November, October in other cells based
off of the December cell. How can I subtract from December to get November?
Thanks in advance
 
I assume you have =TEXT(A1,"mmmm")

For November:
=TEXT(DATE(1,MONTH(A1)-1,1),"mmmm")
For October:
=TEXT(DATE(1,MONTH(A1)-2,1),"mmmm")

etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top