Number Formatting

Reec0n

New Member
Joined
Jan 30, 2017
Messages
20

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi, here is one way you can try:


Excel 2013/2016
AB
1TimeWorkedMinutes
215 minutes15
32.5 hours (150 minutes)150
425 minutes25
515 minutes15
646 minutes46
73.03 hours (182 minutes)182
81.42 hours (85 minutes)85
930 minutes30
1055 minutes55
1110 minutes10
1215 minutes15
1320 minutes20
1415 minutes15
1515 minutes15
Sheet1
Cell Formulas
RangeFormula
B2=IF(A2="","",0+RIGHT(SUBSTITUTE(LEFT(A2,FIND("m",A2)-1),"(",REPT(" ",99)),99))
 
Upvote 0
Hi, here is one way you can try:

Excel 2013/2016
AB
1TimeWorkedMinutes
215 minutes15
32.5 hours (150 minutes)150
425 minutes25
515 minutes15
646 minutes46
73.03 hours (182 minutes)182
81.42 hours (85 minutes)85
930 minutes30
1055 minutes55
1110 minutes10
1215 minutes15
1320 minutes20
1415 minutes15
1515 minutes15

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B2=IF(A2="","",0+RIGHT(SUBSTITUTE(LEFT(A2,FIND("m",A2)-1),"(",REPT(" ",99)),99))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Thank you. This worked perfectly. Much appreciated
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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