Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Form 4 Range of time from 1/20/2010 4:00 AM To 1/21/2010 10:00 AM

Im trying to figure out the range of time spent from two different days. Say
I have on 1/21/2010 4:00 AM in Cell C14 and 1/22/2010 10:00 AM in Cell G14.
I've tried doing (G14-C14) but all i get is 6:00 becasue i need to have it
formatted as (Hr:Min). How would I get it to just have the total amount of
hours from the time elapsed in that span that I'm working with?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default Form 4 Range of time from 1/20/2010 4:00 AM To 1/21/2010 10:00 AM

Use custom format [h]:00
The square backers [] allow hours to exceed 24
If you want, fro example, 4:30 to display as 04:30 use two h's as in [hh]:mm

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Peter Gonzalez" wrote in message
...
Im trying to figure out the range of time spent from two different days.
Say
I have on 1/21/2010 4:00 AM in Cell C14 and 1/22/2010 10:00 AM in Cell
G14.
I've tried doing (G14-C14) but all i get is 6:00 becasue i need to have it
formatted as (Hr:Min). How would I get it to just have the total amount of
hours from the time elapsed in that span that I'm working with?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Form 4 Range of time from 1/20/2010 4:00 AM To 1/21/2010 10:00 AM

Use a custom format of:

[h]:mm

which will display hours without wrapping them at 24, i.e. 30:00.

Hope this helps.

Pete

On Jan 26, 6:45*pm, Peter Gonzalez
wrote:
Im trying to figure out the range of time spent from two different days. Say
I have on 1/21/2010 4:00 AM in Cell C14 and 1/22/2010 10:00 AM in Cell G14.
I've tried doing (G14-C14) but all i get is 6:00 becasue i need to have it
formatted as (Hr:Min). How would I get it to just have the total amount of
hours from the time elapsed in that span that I'm working with?

Thanks


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
How can I set up a pop-up calendar for 2010 in Excel? Mary Excel Discussion (Misc queries) 3 April 4th 23 12:53 PM
Office 2010 rosmie Excel Discussion (Misc queries) 1 January 8th 10 09:29 AM
2010-01-04 is equal to week 2??? nginhong Excel Discussion (Misc queries) 1 January 4th 10 02:10 AM
World Cup 2010 spreadsheet Originalgoth Excel Worksheet Functions 2 December 23rd 09 03:58 PM
World Cup 2010 Template George Brown Excel Discussion (Misc queries) 1 December 5th 09 08:53 PM


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