Excel spreadsheet h...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Excel spreadsheet help

0 Posts
7 Users
0 Reactions
38 Views
 hora
Posts: 0
Free Member
Topic starter
 

Trying to insert a zero into a spreadsheet: 0851274 for instance but when the sheet saves it removed the zero. This needs to be in. I've tried entering '0851274 and it removes the zero still. Same with format cells etc.

Help!


 
Posted : 22/07/2015 7:29 am
Posts: 389
Free Member
 

Try doing ="0851274"


 
Posted : 22/07/2015 7:37 am
Posts: 1781
Free Member
 

Format cells as text prior to entering data


 
Posted : 22/07/2015 7:39 am
 hora
Posts: 0
Free Member
Topic starter
 

Need to save as a CSV file though (for inland revenue) which doesn't work still. Darn 🙁


 
Posted : 22/07/2015 7:50 am
Posts: 25815
Full Member
 

what's going to happen to the numbers afterwards ? - if they're only going to be read by a human, maybe 0.851274 or starting with letter O rather than zero would be OK ?

(granted, would be a pain if there are loads of numbers)


 
Posted : 22/07/2015 7:53 am
Posts: 0
Free Member
 

'0851274
edit - gah, that doesn't work either


 
Posted : 22/07/2015 7:54 am
Posts: 8652
Full Member
 

The zero is saved fine with the method you are using but excel removes it when you open the .csv file with excel. Try opening the saved .csv file in notepad.


 
Posted : 22/07/2015 8:18 am
Posts: 0
Free Member
 

there are various ways to retain the zero, as above. But it is stripped once one opens the file again in excel - one might assume that IR people will be opening the file in excel (and stripping the zero). True, they might not be using excel but we can't be sure


 
Posted : 22/07/2015 8:23 am
Posts: 8652
Full Member
 

If they want the file in .csv format with leading zeros you can't do more than give them what they asked for. I doubt they are using excel to read the files but even if they are I'm sure they are aware of the problem and import the data into the spreadsheet as text (retaining the leading zeros) rather than double clicking on it.


 
Posted : 22/07/2015 8:27 am
Posts: 12072
Full Member
 

Assuming the "851274" bit of "0851274" is unique, just open the CSV in notepad (or notepad++) and do search and replace before sending.


 
Posted : 22/07/2015 8:29 am
Posts: 8652
Full Member
 

No, it's really simple

I've tried entering '0851274

works fine. The leading zeros are in the .csv file and if you open it in notepad you will see they are there.


 
Posted : 22/07/2015 8:37 am

6 DAYS LEFT
We are currently at 95% of our target!