15th of prior month

  • Thread starter Thread starter Deb
  • Start date Start date
D

Deb

How do I display the 15th of the prior month?

A1 = 09-05-07
B1 = display 08-15-07
 
=((DATE(YEAR(A1),MONTH(A1),1))-31)+14

there must be a better way but it's all I could think of
 
How do I display the 15th of the prior month?

A1 = 09-05-07
B1 = display 08-15-07

A bit different way:

=A1-DAY(A1)-DAY(A1-DAY(A1))+15


--ron
 

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