Avatar of LUCKMORE CHIVANDIRE
LUCKMORE CHIVANDIRE
 asked on

Scientific notation problem

Good day experts. i have got data in excel. in one of the columns, i have ID numbers which are in the format 12345678D19. The check letter differs from person to person. my problem is if I have a check letter E, excel will recognise my ID number in scientific notation. For instance if I have an ID number such as 08726849E00, excel will recognise it as 8.73E+06. i have tried to format the entire row to text but this failed to yield any result. thank you in advance for your help. I HAVE ATTACHED A SAMPLE
Microsoft OfficeSpreadsheetsMicrosoft ExcelVBA

Avatar of undefined
Last Comment
Shums Faruk

8/22/2022 - Mon
Shums Faruk

Hi,

No attachment...
LUCKMORE CHIVANDIRE

ASKER
ASKER CERTIFIED SOLUTION
Shums Faruk

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.
Shums Faruk

Here is small VBA which will convert your column A to General then you can type long alpha numeric numbers or copy paste special values without any problem
Sub CellFormat()
Dim Ws As Worksheet
Dim r As Long
Application.ScreenUpdating = False
Set Ws = ActiveSheet
r = Ws.UsedRange.Rows.Count
Ws.Range("A2:A" & r).NumberFormat = "@"
Application.ScreenUpdating = True
End Sub

Open in new window

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Subodh Tiwari (Neeraj)

Alternatively you can input a single quote ' in the beginning of the ID like below...
'08726849E00
aikimark

The column needs to be formatted before the data goes into the cells.
Shums Faruk

No comment has been added to this question in more than 14 days, so it is now classified as abandoned.

I have recommended this question be closed as ID: 42066324 as best solution as per Author's acknowledgment

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.