Return 1st of the Month

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

Guest

I need a formula or function which will return the first of the month. For
example, if Cell c4 contains 2/15/05, i need to return 2/01/05 in cell d4.

Cell c4 can contain any date.
 
=date(year(c4),month(c4),1)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
I need a formula or function which will return the first of the month. For
example, if Cell c4 contains 2/15/05, i need to return 2/01/05 in cell d4.

Cell c4 can contain any date.

=c4-day(c4)+1


--ron
 
Sorry to intrude, I need a similar function but will always return the start
date of the CURRENT month - i.e date sheet is opened? I tried using TODAY()
in place of C4 in this formula but no luck - any suggestions?

Matt
 
Sorry - seems to work now, what sure what the problem was earlier.

Cheers,

Matt
 
Sorry to intrude, I need a similar function but will always return the start
date of the CURRENT month - i.e date sheet is opened? I tried using TODAY()
in place of C4 in this formula but no luck - any suggestions?

Matt


=A1-DAY(A1)+1

Substitute TODAY() for A1.


--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