hours

kuzna

New Member
Joined
Aug 18, 2011
Messages
4
A2- List from 1 to 20 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
A3 – MAINTENANCE TEAM<o:p></o:p>
C2- 23:10 [h]:mm ……………. Time Worked <o:p></o:p>
B2. 123:45 [h]: mm ------------Max Time
=IF(C3="";0;IF(A2=" ";0;C3&"HAS WORKED "&C2*24&" OF "&B2*24&""))

UNFORTUNATELY ITS SHOWS ME AS

MAINTENANCE TEAM HAS WORKED 23,1666 OF 123,75 HRS,

i want it to show the exactly time as:

MAINTENANCE TEAM HAS WORKED 23:10 OF 123:45 HRS,

Please help me
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
To put the numbers in a text string you'll have to format them with the TEXT formula.

For example, replace your C2*24 with TEXT(C2,"h:mm")
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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