Converting date to day number

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

I want to have two columns:
the first with date;
the second with the corresponding day number.

How do I do that?

I don't care what the day numbers are - as long as they are sequential.
 
Excel already stores dates as sequential numbers. Assuming your date is in
A1, in B1 type =A1 and format as General.
 
That would be days since Jan 0 1900, I am not sure the OP wanted that

=DAY(A1)

will return the day of the month

=A1-DATE(2005,1,1)+1

will return the day of the year

format as general
 
=Weekday(A1) will return the day of the week, which was my interpretation of
the question!
 
Excel already stores dates as sequential numbers. Assuming your date is
in A1, in B1 type =A1 and format as General.

Thanks, Ian - that's exactly what I wanted.
Much obliged.
 

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