Number Formatting

Reec0n

New Member
Joined
Jan 30, 2017
Messages
20

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

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