formula to count in hours/mins

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
needing a formula to sum up hours but not roll over into counting days ~ if total is 38:18 (38 hours, 18 minutes) i need it to say that, NOT 1:14:18 or 1 day, 14 hours, 18 min.

***********
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Use the SUM worksheet function and format the cell containing it using the custom format...

[h]:mm
 
Upvote 0
You apply a custom number format... See the Excel Help topic for "Create a custom number format".
 
Upvote 0
Pink,

I'm on lunch here so I'll go through this. Highlight the cell(s), go to Format/Cells/click the numbers tab. Click Custom and in the Type window, enter [h]:mm, click OK
 
Upvote 0
Right!

Create a custom number format

1. Select the cells you want to format.

2. On the Format menu, click Cells, and then click the Number tab.

3. In the Category list, click a category, and then click a built-in format that resembles the one you want.

4. In the Category list, click Custom.

5. In the Type box, edit the number format codes to create the format you want.
 
Upvote 0
You're not butting in... just want to make sure that a "newie" discovers the knowledge contained in Excel's Help system. :)

In fact this help entry even has a "Show me" link...
This message was edited by Mark W. on 2002-10-03 17:12
 
Upvote 0
='V:BaldeBalde[Dec 2-6, 2002.xls]5601'!L23

need to change the dates in several cells at one time (about 20 cells) with the above formula. all other info stays static except the date; needs to be changed to Dec 9-13, 2002.xls.

suggestions?

Thanks!
 
Upvote 0
--------------------------------------------------------------------------------
='V:BaldeBalde[Dec 2-6, 2002.xls]5601'!L23

need to change the dates in several cells at one time (about 20 cells) that already have the above formula. all other info stays static except the date; needs to be changed automagically to Dec 9-13, 2002.xls.

suggestions?

Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,215
Members
448,874
Latest member
b1step2far

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top