Time

flyer1

New Member
Joined
Jan 28, 2003
Messages
23
I have A1 formatted as h:mm and i want to multiply this by B1 wich is the number of personell present
What i want to do is multiply the time x people and divide that number by 60 to get total # of man hours

Example: 0:45 x 6 =270----270minutes / 60 would give me 4.5 man hours
in cell C1
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
flyer1 said:
I have A1 formatted as h:mm and i want to multiply this by B1 wich is the number of personell present
What i want to do is multiply the time x people and divide that number by 60 to get total # of man hours

Example: 0:45 x 6 =270----270minutes / 60 would give me 4.5 man hours
in cell C1

Format the cell in C1 to number
Book1
ABCD
10:4564.50
Sheet1


or
Book1
ABCD
10:4564.50
Sheet1
 

flyer1

New Member
Joined
Jan 28, 2003
Messages
23
Thank you that worked great but what does the 24 represent in the formula
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
flyer1 said:
Thank you that worked great but what does the 24 represent in the formula

Because you want the end result to be a number 4.50, which by the way is 4 1/2 hours in decimal form :biggrin: , you need to convert the 0:45 to a decimal number instead of time, which multiplying by 24 does.
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,565
Messages
5,765,133
Members
425,263
Latest member
alcat

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