View Single Post
Old January 27th, 2018, 12:27 PM   #7
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,133
Thanks: 226,710
Thanked 356,737 Times in 21,628 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by 40plus View Post
Try highlighting the relevant column in Excel and formatting it as plain text. Although Excel assumes it's a number when importing, it usually retains the whole string and just defaults to number format.

If that doesn't work, try editing one of the number fields adding ' at the front and see if it displays the leading zeros.


Regards

40+
The original text is just that: text. It is not (properly) delimited. It is not columns (at that stage). If I go back to the stage where Excel first encounters the text & (wants to) strip the leading zeros, then I'm losing an awful lot of "tidying" & formatting of that text. I used some regex prev. but a lot of the text is too "loose"/irregular for that to cover all the formatting/cleaning required.

I know, "plan to throw one away..."
Fred was Right, said Fred.

Perhaps I should upload the original (un-cleaned) text, so you can see it yourself... & perhaps have a go.
effCup is offline   Reply With Quote
The Following 11 Users Say Thank You to effCup For This Useful Post: