Time Formulas

Jenpie

New Member
Joined
Sep 25, 2006
Messages
3
Hi-

I am having problems trying to figure out a formula with hours and minutes in it.

For example: I have column A as "# of hours" which is 1,643 hours and column B as "# of components" which is 20 components. I need to find the "Hours per components" which ends up being 82hrs 9 mins. But I can't figure out the format or formula to get the hours per component column to show up 82hrs 9mins. Hope this is clear enough!

Thanks!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

pooj_malh

New Member
Joined
Sep 25, 2006
Messages
26
Hi Can you tell me if you want to have the hours and minutes in the same column or separate columns.

If you wish to have them in separate columns try this
arrange your data in this format

A1 1643
B1 20
C1 Time(hrs)
D1 Time(min)

Put the following formula in C1 and D1 respectively
=INT(A1/B1)
=(A1/B1-C1)*60

I hope it solves your problem

Thanks and Regards[/code]
 

pooj_malh

New Member
Joined
Sep 25, 2006
Messages
26
Try using

TEXT and CONCATENATE function in excel..

I am trying and will get back to u once I am done
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825

ADVERTISEMENT

For example: I have column A as "# of hours" which is 1,643 hours and column B as "# of components" which is 20 components. I need to find the "Hours per components" which ends up being 82hrs 9 mins. But I can't figure out the format or formula to get the hours per component column to show up 82hrs 9mins. Hope this is clear enough!
Thanks!

The answer depends on the format of your cells - is A2 1643 or 1643:00?

If the former then use

=A2/B2/24

if the latter just

=A2/B2

in either case format result cell as [h]"hrs" m" mins"
 

pooj_malh

New Member
Joined
Sep 25, 2006
Messages
26
A1 1643
B1 20


CONCATENATE(INT(A1/B1),"hrs",INT((A1/B1-INT(A1/B1))*60),"min")


Use this formula and let me know if it solved your problem

thanks and regards
pooja
 

Forum statistics

Threads
1,141,912
Messages
5,709,287
Members
421,625
Latest member
Natalie1107

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
Top