Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
widman
 
Posts: n/a
Default Dates

You can also then use conditional formatting to A3 to change color if it is
within or outside of ranges you choose.

"JE McGimpsey" wrote:

One way:

A1: <date1
A2: <date2
A3: =A2-A1

Format A3 as General or another Number format.

this works since XL stores dates as integer offsets from a base date.

In article ,
sdmccabe wrote:

Could you please suggest a formula to compare the contents of two cells
containing date values and display the difference in days?


 
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
formula to add dates. S S Excel Worksheet Functions 8 April 5th 06 07:53 PM
Pre-1900 dates Richard Gadsden Excel Discussion (Misc queries) 1 March 26th 06 12:46 AM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 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
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


All times are GMT +1. The time now is 03:52 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"