Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Long Date - Long Date = text is days


In a worksheet I am trying to subtract a long date format from a long date
format and trying to return the days between the two dates.

example: 10/13/2006 8:30:00 AM - 9/6/2006 10:04:00 AM

TFTH,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Long Date - Long Date = text is days

Tom,

Just subtract them. = B2-C2 (or whatever). Excel will happily format the
cell for date, which is meaningless in this context (a date minus a date
ain't a date), so change the formatting to General or number.

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"tom" wrote in message
...

In a worksheet I am trying to subtract a long date format from a long date
format and trying to return the days between the two dates.

example: 10/13/2006 8:30:00 AM - 9/6/2006 10:04:00 AM

TFTH,
Tom



  #3   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Long Date - Long Date = text is days

Thanks I figured it out after I sent the posting...
Thanks again!

"Earl Kiosterud" wrote:

Tom,

Just subtract them. = B2-C2 (or whatever). Excel will happily format the
cell for date, which is meaningless in this context (a date minus a date
ain't a date), so change the formatting to General or number.

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"tom" wrote in message
...

In a worksheet I am trying to subtract a long date format from a long date
format and trying to return the days between the two dates.

example: 10/13/2006 8:30:00 AM - 9/6/2006 10:04:00 AM

TFTH,
Tom




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
Need help setting the worksheet header/Footer margins based on string height? Doug Excel Discussion (Misc queries) 0 August 20th 06 02:05 AM
search for date in long string of text ryan00davis Excel Discussion (Misc queries) 4 August 11th 06 07:06 PM
Update a list Mindie Setting up and Configuration of Excel 2 August 10th 06 02:10 PM
Format cells with a formula (7 conditions). danindenver Excel Discussion (Misc queries) 3 January 2nd 06 02:40 PM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM


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

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

About Us

"It's about Microsoft Excel"