Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I get order sheets like these all the time from my wholesale vendors. I personally don't offer this because I have multiple price points for my wholesale customers and I'd rather not manualy verify that the prices in the spreadsheet are in fact the price that they pay. So I'd definately recommend that you do this server side ultimately.</p> <p>I didn't know this until I just tried it, but you can actually just make a table with the literal Excel formulas in them. You can then either</p> <ol> <li>ctrl+c it into a new spreadsheet.</li> <li>Send it down as an Excel spreadsheet via something like ASP.Net Response.ContentType.</li> <li>Change the extension to .xls.</li> </ol> <p>I did this with this example html and it works:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;test&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;table&gt; &lt;tr&gt; &lt;th&gt;Item&lt;/th&gt; &lt;th&gt;Qty&lt;/th&gt; &lt;th&gt;Price&lt;/th&gt; &lt;th&gt;Extended&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Jasper's Jasper&lt;/td&gt; &lt;td&gt;2&lt;/td&gt; &lt;td&gt;$7.50&lt;/td&gt; &lt;td&gt;=(B2*C2)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;Widget&lt;/td&gt; &lt;td&gt;5&lt;/td&gt; &lt;td&gt;$2.10&lt;/td&gt; &lt;td&gt;=(B3*C3)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan=2&gt;Totals&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;Total&lt;/td&gt; &lt;td&gt;=SUM(D2:D3)&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; </code></pre> <p></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload