Calculate the first day of the month for the current month?

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

Guest

I need to calculate the first day of the month for the current month.
ie. 12/06/04 = 12/01/04 or 5/05/05 = 5/01/05
 
Hi,

Use

=TEXT(DATE(YEAR(A1),MONTH(A1),1),"mm/dd/yy")

Change cell A1 accordingly.

Govind.
 
I think I'd drop the =Text() portion:

=date(year(a1),month(a1),1)

And format the way I want.

Then it's still a date.
 
Ya. thats fine. I just added the Text portion so that the result comes
in the format desired by April.

Govind.
 
Thanks! both Govind and Dave. It works perfect.

Govind said:
Ya. thats fine. I just added the Text portion so that the result comes
in the format desired by April.

Govind.
 
Late but an alternative:

=A1-DAY(A1)+1

--
HTH

Sandy
(e-mail address removed)
Replace@mailinator with @tiscali.co.uk
 

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