Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Count Down 48hrs

Hello All
I would like to count down 48hrs from a supplied date and time. What I mean
is, when I start up my spreadsheet it will reference a cell in another
spreadsheet which is supplying a date and time (yyyy,mm,dd hh,mm) that is
not more than 48hrs old. I would like to display when 48hrs will expire from
that given time in a counting down (hh,mm) format.
Any assistance would be much appreciated,
Paul


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Count Down 48hrs

If X is the supplied date and time, such that X < current time < (X + 2 days),
and you want to know the number of days, hours, and minutes between the
current time and X + 2 days,

=Sheet1!A1+2-NOW()

and format as dd hh:mm

BTW, does Excel recognize the time, X, as a time? If you've typed it in the
format you show below, it may not.

If I type this in a cell:

2004,10,20 22,03

it's text, not a date and time. If you need to convert from text, this formula
should do it

=DATE(LEFT(A1,4),MID(A1,6,2),MID(A1,9,2))+TIME(MID (A1,12,2),RIGHT(A1,2),0)


On Wed, 20 Oct 2004 22:47:55 -0400, "Paul" wrote:

Hello All
I would like to count down 48hrs from a supplied date and time. What I mean
is, when I start up my spreadsheet it will reference a cell in another
spreadsheet which is supplying a date and time (yyyy,mm,dd hh,mm) that is
not more than 48hrs old. I would like to display when 48hrs will expire from
that given time in a counting down (hh,mm) format.
Any assistance would be much appreciated,
Paul


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
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 08:04 AM.

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"