Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Calculating days between two dates

Hope someone can help.

When trying to come up with the number of days between a date on my
spreadsheet and the current date I am not getting the results in days.

Date format on my spreadsheet for G2 - 11/17/2006 13:19
Formula - =DATEDIF(G2,TODAY(),"D")
Result - 4/21/1900 0:00


--
Thanks,
Laura
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Calculating days between two dates

April 21, 1900 corresponds to the number 112. Your cell is formatted as a
date. Nov 17, 2006 was 112 days ago.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"lledelen" wrote:

Hope someone can help.

When trying to come up with the number of days between a date on my
spreadsheet and the current date I am not getting the results in days.

Date format on my spreadsheet for G2 - 11/17/2006 13:19
Formula - =DATEDIF(G2,TODAY(),"D")
Result - 4/21/1900 0:00


--
Thanks,
Laura

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Calculating days between two dates

Hi Laura,

Format as General

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"lledelen" wrote in message ...
| Hope someone can help.
|
| When trying to come up with the number of days between a date on my
| spreadsheet and the current date I am not getting the results in days.
|
| Date format on my spreadsheet for G2 - 11/17/2006 13:19
| Formula - =DATEDIF(G2,TODAY(),"D")
| Result - 4/21/1900 0:00
|
|
| --
| Thanks,
| Laura


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Calculating days between two dates

The cell where you had put your formula is formatted as a date. Format it as
"General". Format-Cells, in the Number tab, select "General" in the
Category list.

"lledelen" wrote:

Hope someone can help.

When trying to come up with the number of days between a date on my
spreadsheet and the current date I am not getting the results in days.

Date format on my spreadsheet for G2 - 11/17/2006 13:19
Formula - =DATEDIF(G2,TODAY(),"D")
Result - 4/21/1900 0:00


--
Thanks,
Laura

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Calculating days between two dates

Thanks! of course.... something I didn't even consider...
--
Thanks,
Laura


"Niek Otten" wrote:

Hi Laura,

Format as General

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"lledelen" wrote in message ...
| Hope someone can help.
|
| When trying to come up with the number of days between a date on my
| spreadsheet and the current date I am not getting the results in days.
|
| Date format on my spreadsheet for G2 - 11/17/2006 13:19
| Formula - =DATEDIF(G2,TODAY(),"D")
| Result - 4/21/1900 0:00
|
|
| --
| Thanks,
| Laura



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating Days Between Dates martins New Users to Excel 5 March 26th 06 11:46 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Problem calculating Days/Hours etc between 2 dates Paul Sheppard Excel Discussion (Misc queries) 2 August 7th 05 10:32 AM
calculating number of days (e.g., Mondays) between two dates girlfriend in school Excel Worksheet Functions 10 July 14th 05 07:21 PM
Calculating for number of days when values are in dates pumper Excel Worksheet Functions 7 January 17th 05 04:52 AM


All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"