<?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>drop.by &#187; Excel</title>
	<atom:link href="http://drop.by/tag/excel/feed" rel="self" type="application/rss+xml" />
	<link>http://drop.by</link>
	<description>Just another weblog</description>
	<lastBuildDate>Tue, 10 Aug 2010 19:22:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Excel sort</title>
		<link>http://drop.by/excel-sorting</link>
		<comments>http://drop.by/excel-sorting#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:07:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://drop.by/blog/?p=3</guid>
		<description><![CDATA[Using CSS to make beautiful Excel spreadsheet tables.]]></description>
			<content:encoded><![CDATA[<p>I recently created an <a title="Excel dynamic sort" href="/excel-sort">explanation</a> of how to automatically sort a list of data in Excel.</p>
<p>I wanted to present the technique as simply and effectively as possible. Pages like <a title="Sorting in Excel" href="http://www.mrexcel.com/tip093.shtml">MrExcel</a> use jpg images to show screenshots of Excel sheets. This works nicely, but I wanted something more usable and accessible. HTML tables are also frequently used around the internet, but often rather primitively.</p>
<p>I used a simple HTML table with border=&#8221;1&#8243; and some cellpadding as a basis, and added CSS on top. I found that I needed the HTML border and cellpadding for the table to be readable without CSS. The CSS has two functions; to mimic the Excel look and to use colors for highlighting.</p>
<p>The HTML+CSS approach has both advantages and disadvantages compared to screenshots. Disadvantage: Difficult to show colored squares that span several cells, such as:</p>
<p><img class="alignnone size-full wp-image-4" title="Spreadsheet screenshot" src="http://drop.by/blog/wp-content/uploads/2009/04/excel.png" alt="Spreadsheet screenshot" width="341" height="190" /></p>
<p>Advantages: Can show the formula of more than one cell at a time. The text can be selected and copied, etc. Instead of cell-spaning rectangles, I use different colors for the cell contents.</p>
<p>I wanted it to be possible to copy the whole table and paste it into Excel or OpenOffice. You can, but you have to delete the first column afterwards.</p>
<p>I ended up with two style sheets (Creative Commons license):</p>
<ul>
<li><a title="Excel style sheet for tables with th" href="/common/excel-with-th.css">Style sheet for tables with &lt;TH&gt; elements</a>.</li>
<li><a title="Excel style sheet for tables without th" href="/common/excel-without-th.css">Style sheet for tables without &lt;TH&gt; elements</a>.</li>
</ul>
<p>I am also wondering if I can do something more with the Excel functions. I could link to the function reference, like <a title="VLOOKUP - Excel - Microsoft Office Online" href="http://office.microsoft.com/en-us/excel/HP052093351033.aspx">VLOOKUP</a>. Or perhaps I should link to my translation page; <a title="VLOOKUP translated into Dutch" href="/excel-translator.php?from=English&amp;to=Dutch&amp;input=VLOOKUP">VLOOKUP</a>. The question is what language to translate to. Perhaps we could use Accept-Language from the HTTP header. For now, I just put a &lt;span class=&#8221;msexcel&#8221;&gt; around the formulas to make them easily available to machine interpretation (e.g. Greasemonkey scripts).</p>
<p>After writing the page, I found a <a title="Automatic sorting Excel" href="http://www.auditexcel.co.za/Automatic%20Sorting%20Project.html">video presentation</a> (Flash) of the same technique. They do not mention the +COUNTIF function however.</p>
<p><span class="msexcel"></p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://drop.by/excel-sorting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
