View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] sultann@gmail.com is offline
external usenet poster
 
Posts: 3
Default How can I create this formula?

Or, even better, use the DATEDIF function

http://www.dataschenk.com/Newsletter...ExDateDif2.htm




wrote:
Unless I'm missing something...

Change Cells B4, C4 and B6 to "Date" format of "MM.DD.YY HH:MM"
Change Cell C4 from "=TODAY()" to "=NOW()"

Expand B6 so that it all fits.

When I do this, I get the following result: "1.31.00 8:05"

The subtraction doesn't seem to quite work properly, so you might have
to separate out months/days/hours/seconds into different calculations
and re-combine. Excel is calculating the months, days, hours, and
seconds separately.