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

I am trying to get a formula that will give me time in tenths. For example;
20:30 to 09:00, should equal 12.5 I want the formula to use every 6 minutes
as a .1 I am using =MOD(C9-C8,1)*24 now. It changes at evey ten minutes to
a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2 Every 6
minutes is a Point not every ten minutes. Can anyone help me with this??

I will also be using times from the same day, like 08:00 to 20:08 comes up
as 12.1 and it should be 12.2

Thanks
Tom
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Time

a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2

Why? 20:30 to 09:38 is 13:08 which is 2 minutes after 13:06 and four
minutes before 13:12 so it should be 13.1333333333 which is whxct I get from
your formula.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Tom S" wrote in message
...
I am trying to get a formula that will give me time in tenths. For
example;
20:30 to 09:00, should equal 12.5 I want the formula to use every 6
minutes
as a .1 I am using =MOD(C9-C8,1)*24 now. It changes at evey ten minutes
to
a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2 Every
6
minutes is a Point not every ten minutes. Can anyone help me with this??

I will also be using times from the same day, like 08:00 to 20:08 comes up
as 12.1 and it should be 12.2

Thanks
Tom



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

By the sound of it, you may want to round *up*, rather than round to the
nearest. If so, try:
=ROUNDUP(MOD(C9-C8,1)*24,1) or
=CELING(MOD(C9-C8,1)*24,0.1)

I think you've misinterpreted it when you say it changes every 10 minutes.
Check your data again.
--
David Biddulph

"Tom S" wrote in message
...
I am trying to get a formula that will give me time in tenths. For
example;
20:30 to 09:00, should equal 12.5 I want the formula to use every 6
minutes
as a .1 I am using =MOD(C9-C8,1)*24 now. It changes at evey ten minutes
to
a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2 Every
6
minutes is a Point not every ten minutes. Can anyone help me with this??

I will also be using times from the same day, like 08:00 to 20:08 comes up
as 12.1 and it should be 12.2

Thanks
Tom



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

Thanks, I'll give it a try

"David Biddulph" wrote:

By the sound of it, you may want to round *up*, rather than round to the
nearest. If so, try:
=ROUNDUP(MOD(C9-C8,1)*24,1) or
=CELING(MOD(C9-C8,1)*24,0.1)

I think you've misinterpreted it when you say it changes every 10 minutes.
Check your data again.
--
David Biddulph

"Tom S" wrote in message
...
I am trying to get a formula that will give me time in tenths. For
example;
20:30 to 09:00, should equal 12.5 I want the formula to use every 6
minutes
as a .1 I am using =MOD(C9-C8,1)*24 now. It changes at evey ten minutes
to
a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2 Every
6
minutes is a Point not every ten minutes. Can anyone help me with this??

I will also be using times from the same day, like 08:00 to 20:08 comes up
as 12.1 and it should be 12.2

Thanks
Tom




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

Thanks, it looks like it is working using the Ceiling option. Thanks for
your help

"David Biddulph" wrote:

By the sound of it, you may want to round *up*, rather than round to the
nearest. If so, try:
=ROUNDUP(MOD(C9-C8,1)*24,1) or
=CELING(MOD(C9-C8,1)*24,0.1)

I think you've misinterpreted it when you say it changes every 10 minutes.
Check your data again.
--
David Biddulph

"Tom S" wrote in message
...
I am trying to get a formula that will give me time in tenths. For
example;
20:30 to 09:00, should equal 12.5 I want the formula to use every 6
minutes
as a .1 I am using =MOD(C9-C8,1)*24 now. It changes at evey ten minutes
to
a .1, so like 20:30 to 09:38 comes up as 13.1 and it should be 13.2 Every
6
minutes is a Point not every ten minutes. Can anyone help me with this??

I will also be using times from the same day, like 08:00 to 20:08 comes up
as 12.1 and it should be 12.2

Thanks
Tom




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
Converting date/time serial values to cumulative time totals... Kevin B Excel Discussion (Misc queries) 4 October 18th 07 05:05 PM
verify use of TIME Function, Find Quantity Level compare to time-d nastech Excel Discussion (Misc queries) 9 July 11th 07 01:58 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 05:53 PM.

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"