=Weekday(A1) will return the day of the week, which was my interpretation of
the question!
--
Kind regards,
Niek Otten
"Peo Sjoblom" <(E-Mail Removed)> wrote in message
news:uOLVi6o%(E-Mail Removed)...
> 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
>
> --
>
> Regards,
>
> Peo Sjoblom
>
> "Ian" <(E-Mail Removed)> wrote in message
> news:L4klf.21935$(E-Mail Removed)...
>> Excel already stores dates as sequential numbers. Assuming your date is
>> in
>> A1, in B1 type =A1 and format as General.
>>
>> --
>> Ian
>> --
>> "Chris" <nospam@[127.0.0.1]> wrote in message
>> news:k38EevWZrclDFw4v@[127.0.0.1]...
>> >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.
>> > --
>> > Chris.
>>
>>
>
>
|