Change number format/convention

mLife9320

New Member
Joined
Mar 23, 2022
Messages
6
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
  2. Mobile
I would like to know if there is a formula to make a numbering format standardised. I have a work sheet, with a column that contains data similar to below:

45-02-001
45-02-002
45/02/003
45-02-004
45/02/005
45-02-006

Some of the fields separate the numbers with "-" and others with "/" (due to inconsistent inputting). I would like formula to convert "-" to "/" (or any type of separator).

There are over 1000 rows, so I required an automated solution

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Are they really formatted like that (meaning that the "/" and "-" don't really appear in the date, they are really numbers with different formats)?
If the "/" and "-" are really part of the data, then you can simply do a Find/Replace (i.e. replacing "-" with "/") choosing the Replace All option to fix them instantly all at once.
 
Upvote 0
Solution
Are they really formatted like that (meaning that the "/" and "-" don't really appear in the date, they are really numbers with different formats)?
If the "/" and "-" are really part of the data, then you can simply do a Find/Replace (i.e. replacing "-" with "/") choosing the Replace All option to fix them instantly all at once.
Oh my gosh! I completely forgot about find and replace <palms face!> ... and yes they are formatted that way. Its to identify locations on industrial estate (e.g. Building/Floor/Room).

Thanks so much for your assistance.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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