Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Rounding Time


=
Mod(round(d7*96,0)/96-round(c7*96,0)/96,1)+Mod(round(d8*96,0)/96-round(c8*96
,0)/96,1)+Mod(round(d9*96,0)/96-round(c9*96,0)/96,1)

Regards,
Tom Ogilvy


"Matt" wrote in message
...
I have six cells that record times in military time and add up a total for
time records. Right now I have a formula that subtracts one cell from
another and then rounds that time to the nearest quarter hour. I have

three
sets of cells that I add together to come up with a total. I want to

round
each individual cell and then subtract instead of subtracting and then
rounding. Here is the formula that I have right now. Any help would be
great. Thanks in advance. Matt

=ROUND((MOD(D7-C7,1)+MOD(D8-C8,1)+MOD(D9-C9,1))*96,0)/96



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 off time RD Excel Worksheet Functions 5 July 10th 09 08:15 PM
Time and rounding LINDA New Users to Excel 3 November 23rd 06 09:46 AM
Rounding Time? stoch05 Excel Worksheet Functions 2 October 18th 06 07:52 PM
Rounding Time Darts Excel Discussion (Misc queries) 11 March 23rd 06 10:55 PM
Rounding Time? ChrisW Charts and Charting in Excel 2 October 12th 05 12:55 PM


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