Time Value problem

AFZAL SOHAIL

Board Regular
Joined
May 31, 2023
Messages
115
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
Hello Dear Team,
I have time value data I want to write this is as under:-
Thanks a lot in advance.

TIME VALUEEXPECTED RESULTS
2 hr. 57 min.2:57
3 hr. 10 min.3:10
2 hr. 40 min.2:40
2 hr. 18 min.2:18
3 hr. 04 min.3:04
3 hr. 58 min.3:58
11 hr. 50 min.11:50
1 hr. 39 min.1:39
2 hr. 00 min.2:00
12 hr. 04 min.12:04
5 hr. 46 min.5:46
3 hr. 22 min.3:22
4 hr. 31 min.4:31
3 hr. 56 min.3:56
3 hr. 27 min.3:27
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try this:

Book1
AB
1IME VALUEEXPECTED RESULTS
22 hr. 57 min.2:57
33 hr. 10 min.3:10
42 hr. 40 min.2:40
52 hr. 18 min.2:18
63 hr. 04 min.3:04
73 hr. 58 min.3:58
811 hr. 50 min.11:50
91 hr. 39 min.1:39
102 hr. 00 min.2:00
1112 hr. 04 min.12:04
125 hr. 46 min.5:46
133 hr. 22 min.3:22
144 hr. 31 min.4:31
153 hr. 56 min.3:56
163 hr. 27 min.3:27
Sheet1
Cell Formulas
RangeFormula
B2:B16B2=--SUBSTITUTE(SUBSTITUTE(A2,"hr.",":"),"min.","")
 
Upvote 0
Solution
Thanks a lot for quick response,
I am waiting for more response, after that I will be mark as solution.
 
Upvote 0
Thanks a lot for quick response,
I am waiting for more response, after that I will be mark as solution.

The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,215,682
Messages
6,126,196
Members
449,298
Latest member
Jest

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