{"id":3172,"date":"2014-12-18T17:59:30","date_gmt":"2014-12-18T22:59:30","guid":{"rendered":"https:\/\/www.inflowinventory.com\/support\/article\/3172\/when-i-export-data-from-inflow-the-leading-zeroes-are-getting-lost-help\/"},"modified":"2018-05-11T12:39:23","modified_gmt":"2018-05-11T16:39:23","slug":"when-i-export-data-from-inflow-the-leading-zeroes-are-getting-lost-help","status":"publish","type":"post","link":"https:\/\/onpremise.inflowinventory.com\/support\/article\/60916240\/when-i-export-data-from-inflow-the-leading-zeroes-are-getting-lost-help\/","title":{"rendered":"When I export data from inFlow On-Premise, the leading zeroes are getting lost.  Help!"},"content":{"rendered":"<p>For example, you might have a Product named \u201c007\u201d in your product list. At some point you may have clicked\u00a0<em>Main Menu &gt; General &gt; Export Data<\/em> to save your products to a CSV file. Then when you open the CSV file in Excel, you see it just showing up as \u201c7\u201d and wonder if there is some secret agent modifying your products.<\/p>\n<p>Actually, what\u2019s going on here is that inFlow On-Premise is correctly exporting \u201c007\u201d (you can check this by opening the .CSV file in a text editor like Notepad), but Excel interprets this as a number, and simplifies the display by showing it just as \u201c7\u201d.<\/p>\n<p>There are two workarounds, shown below:<\/p>\n\n<h2>Modify your data so that Excel can\u2019t interpret it as a number<\/h2>\n<p>If instead of naming your product 007, you named it 007* or 007-BOND, Excel wouldn\u2019t be able to misinterpret it as a number to be simplified, and this would get around the issue.<\/p>\n<p>Of course, this would require that you rename things in inFlow, and this isn\u2019t possible in some cases, most notably for barcodes that start with 0.<\/p>\n\n<h2>Use Excel\u2019s Data Import Wizard<\/h2>\n<p>Instead of opening the CSV file just by double-clicking on it, you can use another method in Excel. (Instructions for Excel 2013)<\/p>\n<ol>\n<li>Open a new empty document in Excel.<\/li>\n<li>Go to the <em>Data<\/em> tab, then click <em>Get External Data &gt; From Text<\/em>.<div class=\"article-image\"><img loading=\"lazy\" class=\"aligncenter wp-image-23178 size-full\" src=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/3172_1-1.png\" alt=\"\" width=\"1025\" height=\"559\" srcset=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/3172_1-1.png 1025w, https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/3172_1-1-300x164.png 300w, https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/3172_1-1-768x419.png 768w, https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/3172_1-1-1024x558.png 1024w\" sizes=\"(max-width: 1025px) 100vw, 1025px\" \/><\/div><\/li>\n<li>Select your CSV file.<\/li>\n<li>Excel\u2019s <em>Text Import Wizard<\/em> should show up. Select the file type <em>Delimited<\/em>, and click <em>Next<\/em>.<\/li>\n<li>Check the <em>Tab\u00a0<\/em>and\u00a0<em>Comma<\/em> box under Delimiters, and under <em>Text<\/em> qualifier, select the (double) quotation mark. Click <em>Next<\/em>.<div class=\"article-image\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-17121\" src=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_2.png\" alt=\"60916240_2\" width=\"507\" height=\"413\" srcset=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_2.png 507w, https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_2-300x244.png 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/div><\/li>\n<li>Click on each column that you\u2019re having a problem with, then set the Column data format to Text.<div class=\"article-image\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-17111\" src=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_3.png\" alt=\"60916240_3\" width=\"507\" height=\"413\" srcset=\"https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_3.png 507w, https:\/\/onpremise.inflowinventory.com\/support\/wp-content\/uploads\/sites\/4\/2014\/12\/60916240_3-300x244.png 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/div><\/li>\n<li>Click Finish. When Excel asks you where to put the data, you can insert it into the Existing worksheet.<\/li>\n<\/ol>\n\n\n","protected":false},"excerpt":{"rendered":"<p>For example, you might have a Product named \u201c007\u201d in your product list. At some point you may have clicked\u00a0Main Menu &gt; General &gt; Export Data to save your products to a CSV file. Then when you open the CSV file in Excel, you see it just showing up as \u201c7\u201d and wonder if there [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_et_pb_use_builder":"","_et_pb_old_content":""},"categories":[20,23],"tags":[46,49],"_links":{"self":[{"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/posts\/3172"}],"collection":[{"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/comments?post=3172"}],"version-history":[{"count":9,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/posts\/3172\/revisions"}],"predecessor-version":[{"id":25324,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/posts\/3172\/revisions\/25324"}],"wp:attachment":[{"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/media?parent=3172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/categories?post=3172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onpremise.inflowinventory.com\/support\/wp-json\/wp\/v2\/tags?post=3172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}