ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Time remaining until event (https://www.excelbanter.com/excel-discussion-misc-queries/223588-time-remaining-until-event.html)

Highbury 1[_2_]

Time remaining until event
 
Countdown to event timing.....

Hi, Im trying to build a workbook in Excel 2007 that is able to calculate
the amount of time REMAINING until the start of a scheduled event and return
the number of hours, minutes and seconds remaining until the scheduled start
time, however if the event does not start on time I want to be able to see
how many hours, minutes and seconds the event is running late.

I have built a worksheet that returns the following information (hh:mm:ss)

Current Time 13:25:34
Expected Start Time 14:00:00
Variance 00:34:26

However if an event starts later than expected I want the return to look
like this:

Current Time 14:07:44
Expected Start Time 14:00:00
Variance (00:07:44)

Instead what I actually get is either Variance = 23:59:59 or Variance = VALUE!

Any help that you can give would be great, please include any details
regarding the cell formatting as I suspect that this is where Im going wrong.

Thanks.

FSt1

Time remaining until event
 
hi
you could try a formula like this....
assuming start time is in b2 and event time is in b3....
=IF(B3B2,MOD(B3-B2,1),MOD(B2-B3,1))

in the cell next to the formula you could put a formula like this.....
=IF(B3B2,"To Go","Overdue")
or use conditional formating to turn the time text red or what ever.
=b3B2

regards
FSt1

"Highbury 1" wrote:

Countdown to event timing.....

Hi, Im trying to build a workbook in Excel 2007 that is able to calculate
the amount of time REMAINING until the start of a scheduled event and return
the number of hours, minutes and seconds remaining until the scheduled start
time, however if the event does not start on time I want to be able to see
how many hours, minutes and seconds the event is running late.

I have built a worksheet that returns the following information (hh:mm:ss)

Current Time 13:25:34
Expected Start Time 14:00:00
Variance 00:34:26

However if an event starts later than expected I want the return to look
like this:

Current Time 14:07:44
Expected Start Time 14:00:00
Variance (00:07:44)

Instead what I actually get is either Variance = 23:59:59 or Variance = VALUE!

Any help that you can give would be great, please include any details
regarding the cell formatting as I suspect that this is where Im going wrong.

Thanks.


FSt1

Time remaining until event
 
forgot to mention. the above is not a ticking timer but will display the
correct timer time on sheet recalculation (F9).

regards
FSt1

"FSt1" wrote:

hi
you could try a formula like this....
assuming start time is in b2 and event time is in b3....
=IF(B3B2,MOD(B3-B2,1),MOD(B2-B3,1))

in the cell next to the formula you could put a formula like this.....
=IF(B3B2,"To Go","Overdue")
or use conditional formating to turn the time text red or what ever.
=b3B2

regards
FSt1

"Highbury 1" wrote:

Countdown to event timing.....

Hi, Im trying to build a workbook in Excel 2007 that is able to calculate
the amount of time REMAINING until the start of a scheduled event and return
the number of hours, minutes and seconds remaining until the scheduled start
time, however if the event does not start on time I want to be able to see
how many hours, minutes and seconds the event is running late.

I have built a worksheet that returns the following information (hh:mm:ss)

Current Time 13:25:34
Expected Start Time 14:00:00
Variance 00:34:26

However if an event starts later than expected I want the return to look
like this:

Current Time 14:07:44
Expected Start Time 14:00:00
Variance (00:07:44)

Instead what I actually get is either Variance = 23:59:59 or Variance = VALUE!

Any help that you can give would be great, please include any details
regarding the cell formatting as I suspect that this is where Im going wrong.

Thanks.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com