PC Review


Reply
Thread Tools Rate Thread

Date to number conversion

 
 
Byron720
Guest
Posts: n/a
 
      23rd Jun 2008
I need a formula that tells me the day of the year for a date. For example:

06/23/2008 = 175
 
Reply With Quote
 
 
 
 
bpeltzer
Guest
Posts: n/a
 
      23rd Jun 2008
With the date in cell A1: =A1-DATE(YEAR(A1),1,0)

"Byron720" wrote:

> I need a formula that tells me the day of the year for a date. For example:
>
> 06/23/2008 = 175

 
Reply With Quote
 
Kevin B
Guest
Posts: n/a
 
      23rd Jun 2008
The following function will produce the Julian date you requested.
Substitute the cell address A1 with the cell that contains the date:

=A1-DATE(2008,1,0)

You will probably have to format the cell for a number format of 0 decimals
as it will pick up the data format from the date cell.
--
Kevin Backmann


"Byron720" wrote:

> I need a formula that tells me the day of the year for a date. For example:
>
> 06/23/2008 = 175

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date to text/number Conversion CM4@FL Microsoft Excel Misc 1 10th Nov 2009 04:17 PM
stop number to date conversion jeffrey Microsoft Excel Setup 2 26th Apr 2008 08:50 PM
Re: Conversion Date to a number Allen Browne Microsoft Access Forms 0 20th Jan 2007 05:35 AM
date and number conversion Faeandar Microsoft Excel Discussion 5 3rd Sep 2006 01:44 AM
Excel number to date conversion =?Utf-8?B?TmV2aWxsZQ==?= Microsoft Excel Misc 5 19th Nov 2004 04:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:23 PM.