Thread: Date
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Rookie 1st class Rookie 1st class is offline
external usenet poster
 
Posts: 152
Default Date

A helper cell and 2 nested if statements will work.

"momotaro" wrote:

Hi,

I need help regarding converting the mm/dd/yy to period number. For
example: when I enter the date, it will convert to number (see below)

Date Period #

7/1/2006 1
8/1/2006 2
9/1/2006 3
10/1/2006 4
11/1/2006 5
12/1/2006 6
1/1/2007 7
2/1/2007 8
3/1/2007 9
4/1/2007 10
5/1/2007 11
6/1/2007 12

Can anyone help me? Thanks a lot.