#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Rounding time

A1 to A200 are starting time.
B1 to B200 are finishing time.
C1 to C200 formula is : =(B1-A1)*24*60 Copied down.
Giving me minutes difference between B and A.
When I have A1= 8A and B1=8:25a I get of course 25 minutes.
In order to do my work I need those 25 minutes rounded to 30, as
I only use 30, 60, 90, 120, 150...( half hour, one hour, hour and a half,
two hr...)
I think I need to change the whole formula but I have not clue about it, in
order to do the rounding time. Do I need a helper column or just different
formula?
Thanks for your help.

--
Socrates said: I only know, I don''''t know nothing.
I say : I don''''t even know, I don''''t
know nothing.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Rounding time

=MROUND((B1-A1)*24*60,30)


"Learning Excel" wrote:

A1 to A200 are starting time.
B1 to B200 are finishing time.
C1 to C200 formula is : =(B1-A1)*24*60 Copied down.
Giving me minutes difference between B and A.
When I have A1= 8A and B1=8:25a I get of course 25 minutes.
In order to do my work I need those 25 minutes rounded to 30, as
I only use 30, 60, 90, 120, 150...( half hour, one hour, hour and a half,
two hr...)
I think I need to change the whole formula but I have not clue about it, in
order to do the rounding time. Do I need a helper column or just different
formula?
Thanks for your help.

--
Socrates said: I only know, I don''''t know nothing.
I say : I don''''t even know, I don''''t
know nothing.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Rounding time

Got to give it to you Teethless mama, it works perfect.
Now I know, the more I know, the less I know.
I don't know.
THANKS !
--
Socrates said: I only know, I don''''t know nothing.
I say : I don''''t even know, I don''''t
know nothing.


"Teethless mama" wrote:

=MROUND((B1-A1)*24*60,30)


"Learning Excel" wrote:

A1 to A200 are starting time.
B1 to B200 are finishing time.
C1 to C200 formula is : =(B1-A1)*24*60 Copied down.
Giving me minutes difference between B and A.
When I have A1= 8A and B1=8:25a I get of course 25 minutes.
In order to do my work I need those 25 minutes rounded to 30, as
I only use 30, 60, 90, 120, 150...( half hour, one hour, hour and a half,
two hr...)
I think I need to change the whole formula but I have not clue about it, in
order to do the rounding time. Do I need a helper column or just different
formula?
Thanks for your help.

--
Socrates said: I only know, I don''''t know nothing.
I say : I don''''t even know, I don''''t
know nothing.

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
rounding time MEH Excel Worksheet Functions 3 February 26th 07 07:04 PM
Rounding Time? stoch05 Excel Worksheet Functions 2 October 18th 06 07:52 PM
Time rounding help Sanch Excel Discussion (Misc queries) 3 June 30th 06 06:37 PM
Rounding Time? ChrisW Charts and Charting in Excel 2 October 12th 05 12:55 PM
Rounding off TIME FJ Shepley & JM Pfohl Excel Discussion (Misc queries) 2 August 19th 05 12:58 AM


All times are GMT +1. The time now is 04:13 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"