#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Time formulas

How do I make a formula for a time that starts at night, (23:30) and ends the
following day (09:00) and come out to be 12.5???? I can make it work for
times on the same day like (09:00 and ends at 23:00) and it shows up as 12.5.
I don't want to have to use a date along with the tme. I sure hope there is
a way to make it work.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Time formulas

It should be 9.5, *not* 12.5

Start time in A1,
End time in B1,

In C1:
=Mod(B1-A1,1)*24

With C1 formatted to General or Number.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Tom S" <Tom wrote in message
...
How do I make a formula for a time that starts at night, (23:30) and ends

the
following day (09:00) and come out to be 12.5???? I can make it work for
times on the same day like (09:00 and ends at 23:00) and it shows up as

12.5.
I don't want to have to use a date along with the tme. I sure hope there

is
a way to make it work.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Time formulas

Thanks, looks like it is working for me

"Ragdyer" wrote:

It should be 9.5, *not* 12.5

Start time in A1,
End time in B1,

In C1:
=Mod(B1-A1,1)*24

With C1 formatted to General or Number.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Tom S" <Tom wrote in message
...
How do I make a formula for a time that starts at night, (23:30) and ends

the
following day (09:00) and come out to be 12.5???? I can make it work for
times on the same day like (09:00 and ends at 23:00) and it shows up as

12.5.
I don't want to have to use a date along with the tme. I sure hope there

is
a way to make it work.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Time formulas

Appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Tom S" wrote in message
...
Thanks, looks like it is working for me

"Ragdyer" wrote:

It should be 9.5, *not* 12.5

Start time in A1,
End time in B1,

In C1:
=Mod(B1-A1,1)*24

With C1 formatted to General or Number.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Tom S" <Tom wrote in message
...
How do I make a formula for a time that starts at night, (23:30) and
ends

the
following day (09:00) and come out to be 12.5???? I can make it work
for
times on the same day like (09:00 and ends at 23:00) and it shows up as

12.5.
I don't want to have to use a date along with the tme. I sure hope
there

is
a way to make it work.





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
Time Formulas MuncieJeff Excel Discussion (Misc queries) 2 December 8th 06 10:22 PM
Using Time in Formulas Cheri Excel Discussion (Misc queries) 6 November 10th 06 04:58 PM
*HELP* time formulas Rookie Excel Worksheet Functions 3 July 9th 06 09:59 PM
Time Formulas metaltecks Excel Discussion (Misc queries) 1 March 30th 06 12:51 AM
Time formulas edver Excel Discussion (Misc queries) 1 January 18th 05 05:56 AM


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

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"