<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Office Tools Archives - Blog</title>
	<atom:link href="https://blog.tiny.cc/archives/category/tools/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.tiny.cc/archives/category/tools</link>
	<description>Branding, Marketing, URL Management</description>
	<lastBuildDate>Sat, 18 Mar 2023 05:59:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>CSV, Short URLs and Excel</title>
		<link>https://blog.tiny.cc/archives/71</link>
		
		<dc:creator><![CDATA[TINYCC]]></dc:creator>
		<pubDate>Thu, 14 Apr 2016 16:55:10 +0000</pubDate>
				<category><![CDATA[Office Tools]]></category>
		<guid isPermaLink="false">http://blog.tiny.cc/?p=71</guid>

					<description><![CDATA[<p>A short URL has a&#160;domain + a short hash (tiny.cc/0bza4). 0bza4 is the short hash in this example. Let&#8217;s say you are importing a batch of &#160;short hashes. Spreadsheets are&#160;comprised of two components, content and format (number, masking, coloring, etc.). Comma-separated value (CSV) is a file type that only holds content, while&#160;containing&#160;no format information. Lack [&#8230;]</p>
<p>The post <a href="https://blog.tiny.cc/archives/71">CSV, Short URLs and Excel</a> appeared first on <a href="https://blog.tiny.cc">Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h4></h4>
<p>A short URL has a&nbsp;domain + a short hash (tiny.cc/0bza4). 0bza4 is the short hash in this example. Let&#8217;s say you are importing a batch of &nbsp;short hashes.</p>
<p>Spreadsheets are&nbsp;comprised of two components, content and format (number, masking, coloring, etc.). Comma-separated value (<strong>CSV</strong>) is a file type that only holds content, while&nbsp;containing&nbsp;no format information. Lack of format means Excel needs to apply its own default formatting to it.</p>
<p>Excel will likely apply a&nbsp;number&nbsp;format and most number formats&nbsp;result in&nbsp;unexpected&nbsp;behavior when it comes to short hashes.</p>
<h2>Things to Know About Excel&#8217;s Default Number Format for Cells</h2>
<p>1. Removes leading zeros from number codes</p>
<p>Zeros at the beginning of any&nbsp;sequence are automatically removed from number codes.&nbsp;The reason for this is because Excel assumes that&nbsp;zero is not required to display the value of the number. This means any&nbsp;short hash beginning with 0 could unexpectedly&nbsp;have the 0 dropped.&nbsp;<strong>0bza4</strong> is changed into&nbsp;<strong>bza4</strong>.</p>
<p>2. &#8220;e&#8221; in number code triggers scientific notation</p>
<p>An &#8220;e&#8221; in a short hash can, depending on its position in the sequence, be interpreted by Excel as scientific notation. Excel thinks you meant scientific notation and formally converts it for you. It&nbsp;sees a number code&nbsp;inside a cell &#8211; like <strong>10e22</strong> for example and decides that it needs some&nbsp;tidying up. So unexpectedly the&nbsp;short hash might be&nbsp;replaced with <strong>1E+23</strong>.</p>
<p>3. Rounds off numbers</p>
<p>It is unlikely that your short hashes would ever&nbsp;contain enough characters to trigger rounding, but note that Excel has a precision limit and will round off and truncate number codes that exceeds its&nbsp;limit.</p>
<h2>Change the Format or&nbsp;Import as XSL or ODS</h2>
<p>If you have to import CSV, be sure to <strong><a href="https://support.office.com/en-gb/article/Keep-leading-zeros-in-number-codes-1bf7b935-36e1-4985-842f-5dfa51f85fe7" target="_blank" rel="noopener">pre-format</a></strong> your short hash column to text or custom number that maintains&nbsp;all original characters and digits. Another hack that&nbsp;avoids auto correcting to scientific notation&nbsp;is to&nbsp;insert an apostrophe&nbsp;before the hash.</p>
<p>The best&nbsp;method if you have options is to work with&nbsp;file types that have both content and format information. This means importing as XLS or ODS instead of CSV. With cell format set to string in original file, the&nbsp;import will&nbsp;always be predictable.</p>
<p>The post <a href="https://blog.tiny.cc/archives/71">CSV, Short URLs and Excel</a> appeared first on <a href="https://blog.tiny.cc">Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
