Link to home
Start Free TrialLog in
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
ASKER CERTIFIED SOLUTION
Avatar of ThomasMcA2
ThomasMcA2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kvrogers
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