Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 137
Default Calculating Time in Hours and round it up.

Hi,

In A1, I type in 0001 and in A2, I type in 0700 (both cell in Text format)

In A3, I like it to display the hours in between 0001hrs to 07000hrs in
Hours rounding it up to 7 hours instead of 699. How to I make it happen?

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,886
Default Calculating Time in Hours and round it up.

Hi

Try
=CEILING(A2-A1,100)/2400

The ceiling part rounds it to 700. Divide that by 100 to give 7, then
divide that by 24, (i have combined that to divide by 2400)as Excel
stores times as fractions of a day.
Format the cell as hh:mm
--
Regards

Roger Govier


"newbie" wrote in message
...
Hi,

In A1, I type in 0001 and in A2, I type in 0700 (both cell in Text
format)

In A3, I like it to display the hours in between 0001hrs to 07000hrs
in
Hours rounding it up to 7 hours instead of 699. How to I make it
happen?

Thank you.



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
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
Calculating time increments from dates during working hours S Davis Excel Worksheet Functions 0 October 24th 06 03:32 PM
Calculating time, hours and minutes arrowpilot Excel Discussion (Misc queries) 1 October 21st 06 12:04 AM
calculating times (hours and miniutes) on a time sheet madtech Excel Worksheet Functions 2 June 30th 06 07:40 PM
Round up to whole hours ivory_kitten Excel Discussion (Misc queries) 3 June 29th 06 02:51 AM


All times are GMT +1. The time now is 09:42 PM.

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"