Hghlight duplicate Cells in a row , but cells contain 22 digits or more

Plokimu77

Board Regular
Joined
Oct 1, 2014
Messages
123
Good morning,

I have numbers for part orders that are sometimes longer than 22 digits in a cell
for example:
92419901082947182020011750

I currently stored the numbers as text in the cell, because if I don't then the numbers become this:
9.24199010829471E+25

My problem is that when I Condition the row to highlight duplicates,
and I sort the row, I noticed that some of the numbers are not duplicates.

Is it because they are stored as text?
Or is it because excel can only read a certain amount of characters in a cell?

Does any have an idea of a way I can work around this?


Thank you.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Store the numbers as numbers. If you format the cell that contains the uber-number as Number with zero decimal places and no thousands separator it will appear as you want it.
 
Upvote 0
Store the numbers as numbers. If you format the cell that contains the uber-number as Number with zero decimal places and no thousands separator it will appear as you want it.
That's not so. Excel has a 15-digit precision for numbers so a number that is longer will be truncated after the 15th digit. Example: 92419901082947182020011750 if formatted as a number with zero decimal places will appear as
92419901082947100000000000.

How are you storing the numbers as text?
 
Upvote 0
I stand corrected. I did not know about 15-digit precision.
 
Upvote 0
Yes, I am storing the numbers as text.

Thank you for the 15 digit insight.

Is there a way around it?

Thank you.
 
Upvote 0
Yes, I am storing the numbers as text.

Thank you for the 15 digit insight.

Is there a way around it?

Thank you.
You didn't answer the question as to exactly how you are storing the numbers as text. Are they imported as text or are you formatting the cells as text first, then pasting the numbers or ....?

I'm not sure I understand what "it" is, can you elaborate and provide some sample data to illustrate what problem you want to solve?
 
Upvote 0

Forum statistics

Threads
1,203,120
Messages
6,053,631
Members
444,674
Latest member
Fieldy1999

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