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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,214,788
Messages
6,121,580
Members
449,039
Latest member
Arbind kumar

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