The significance feature in Numbers for iOS , iPadOS , and macOS can take data in the common Polygonia comma - separated economic value ( CSV ) and tablet - separate values ( TSV ) formats and parse that right into a spreadsheet ’s fields . However , you may have chance a problem if you bring in data that was exported from elsewhere or formatted by helping hand that should n’t be see as a number but , rather , as sheer textual matter .

For example , theUnited States Postal Service Zip codesystem is one of the most common use of leading or cushioning zilch in numbers you deal with every day . In a zip codification like 04843 , the initial zero is a necessary part of the Zip code — but if you spell a CSV or TSV file with 04843 in a field by itself , routine ( like Excel ) automatically treats it like a number . The column go for numeric formatting mechanically and crop off that nothing when converting it to a pure number : 4843 .

The error is tacit , too . If you ’re not paying attention , the first time you screw something is incorrect is when the post office rejects an address , or you encounter similar substantiation problems with less commonly pass off numbers that have leading zippo or other formatting that triggers Numbers interpreting the line of business as a number .

BBEdit find replace

BBEdit (shown here with a TSV replacement) and other text-editing programs can let you easily fix a CSV or TSV file to prevent the loss of leading zeroes.

There ’s an easy elbow room to work around this , one that mass using Excel have used for years , but it ’s funnily not a stock option in any tool I ’ve used that export CSV or TSV file . In the CSV or TSV data file , instead of initialize a number by itself like,04843,or < tab>04843 < tab > you add together an equal signal and wrap the number in quotation fall guy , like :

= " 04843 "

Numbers ( and Excel ) reads this as straight text . After importing , you’re able to take the column and explicitly set it to text via theFormat Inspector > Cell > Data Format , where you chooseText .

Now , what if you ca n’t control how your CSV or TSV is made ? summate a processing step before you open or import the file into number . In an app likeBBEdit(including its complimentary version ) , use Find and Replace . Here are the instructions for BBEdit after pull in a backup written matter of your file cabinet :

BBEdit ( shown here with a TSV replenishment ) and other text - editing programs can let you easily desexualize a CSV or TSV file cabinet to forestall the loss of lead nada .

metalworks

Those pattern above say “ find any phone number between commas ( CSV ) or tabs ( CSV ) and replace the numeral with=”number ” . While this forces all import number to be treated like tet , you may use the Format Inspector to exchange the cell format for any column you care to have number act on those columns ’ time value as numbers .

For additional clearness for step 4 and 5 , here ’s what you copy and glue in each field for CSV :

And for TSV :

Note that those are straight credit scrape in the replacement patterns for CSV and TSV , not curly or compositor ’ quote .

Ask Mac 911

We ’ve compiled a list of the questions we get asked most frequently , along with result and links to pillar : read our super FAQto see if your question is covered . If not , we ’re always looking for Modern problems to solve ! netmail yours tomac911@macworld.com , including screen captures as appropriate and whether you desire your full name used . Not every doubtfulness will be reply , we do n’t reply to email , and we can not provide lineal troubleshooting advice .