Excel formatted as number but left aligned

mellin8

New Member
Joined
Aug 10, 2018
Messages
4
I have a list of product ID (consist of all numbers) generated from another system.However these numbers are already in format number but left aligned.
I need them to be number format as I am using this file for another system.
Any advice?
Thank so much.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
If I understand your problem, use the Value function. So if your list starts in cell A1, in cell B1 (or wherever you want it) =Value(A1).
 
Upvote 0
Assuming there are no spurious characters, select the column, Data > Text to columns, Finish.
 
Upvote 0
Assuming the data is in col "A", in another column type =LEN(A2)....or whatever the offending cell is and count the characters...'I'm guessing you have a Char(160) or similar in with the numbers....especially if it's imported data !!
you could try, in another column
Code:
=SUBSTITUTE(A2,CHAR(160),"")

and see if that helps
 
Last edited:
Upvote 0
Select this column then from the ribbon choose: Clear - Clear Formats
then use number format
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
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