which function to use?

A

A. Toczko

I have a column of data which is dates, entered as dd/mm/yy, and formated to
display mmm-yy. I would like to set up another column that will assign a
number for each month shown in the date column, where April is month 1, May
month 2, etc.

Enter data in column 1 as 25/11/05, it displays as Nov-05, and in the second
column, I need a function that will compute to 8, the month number. TIA.
 
P

Paul B

How about =MONTH(A1)

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
G

Guest

Use this

=IF(MONTH(A1)<4,MONTH(A1)+9,MONTH(A1)-3)

Where colum A contains the dates.

HTH

J
 
G

Guest

This won't work Paul, as entering 25/11/05 - will compute as the month number
11 rather than 8 (which i believe represents the financial period month)
 

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

Top