Avatar of kvrogers
kvrogers
 asked on

Formating numbers in Excel when format is not consistent

I have a SQL report that I have run and have copied the report into Excel the TOP 25 Dx codes used.  
When I run the SQL report it looks like this:

PrimDx      Count
715.96       8109
719.46       3368
716.96      1489
V54.89      1485
719.41      1460
726.5      1219
V43.65      1148
726.10      1038
715.91      841
716.91      678
719.45      664
813.42      588
715.95      569
729.1      565
840.4      456
824.2      451
V43.64      406
719.47      394
959.7      394
836.0      365
825.25      361
812.00      341
719.06      331
726.2      329
726.32      324

When I put this into Excel and format the field with NUMBER instead of General I get this:

PrimDx      Count
715.96      8102
719.46      3366
716.96      1488
V54.89      1481
719.41      1460
726.50      1219
V43.65      1148
726.10      1038
715.91      841
716.91      678
719.45      664
813.42      588
715.95      569
729.10      565
840.40      455
824.20      451
V43.64      406
719.47      394
959.70      393
836.00      365
825.25      361
812.00      341
726.20      329
719.06      328
726.32      324

Notice that they do not match exactly. Notice that 7.26.5 in SQL has now become 726.50.   How do I customize the Dx column to read as it does on the SQL sheet.

KR
Microsoft ExcelSpreadsheets

Avatar of undefined
Last Comment
kvrogers

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ThomasMcA2

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
kvrogers

ASKER
Thank you.  that worked.  I changed the formatting to Text and that worked.  That did exactly what I wanted.  The text format kept the field exactly as it was originally exported.    With medical ICD9 codes, some will be 726.50 and others will be 726.5.  Thanks again.

KR
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23