Help required on working with date

  • Thread starter Thread starter Shanks
  • Start date Start date
S

Shanks

Hi

I have dates in a column in dd-mmm-yy format, like

29-Mar-04
15-Apr-04
13-May-04

I want to put in the column adjecent to this date column
the date starting with 1st day of each month like -

01-Mar-04
01-Apr-04
01-May-04

How can this be done by use of formula?

I tried but do not get any clue to go futher.

-Shanks
 
If column A has your dates then column B should be
=eomonth(a1,-1)+1

This will calculate the last day of the previous month and then add 1
day.
 
Hi,
use the following =EOMONTH("Date",-1)+1, where "date"
represents the cell address of the cells you want
evaluated. Note that you will need to have the analysis
toolpack addin installed to use this formula.

HTH.
 
Tks Frank
It worked well !!

Shanks
-----Original Message-----
Hi
try
=DATE(YEAR(A1),MONTH(A1),1)

--
Regards
Frank Kabel
Frankfurt, Germany


.
 
Hi

I have dates in a column in dd-mmm-yy format, like

29-Mar-04
15-Apr-04
13-May-04

I want to put in the column adjecent to this date column
the date starting with 1st day of each month like -

01-Mar-04
01-Apr-04
01-May-04

How can this be done by use of formula?

I tried but do not get any clue to go futher.

-Shanks


=A1+1-DAY(A1)

will give you the first day of the month of the date in 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