<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Splitting the Check</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Richard</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-37870</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 10 Feb 2009 13:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-37870</guid>
		<description>&lt;p&gt;Me too - I&#039;ve been waiting for over a year to see if anyone can come up with the answer!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Me too &#8211; I&#8217;ve been waiting for over a year to see if anyone can come up with the answer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-37079</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-37079</guid>
		<description>&lt;p&gt;I love this....but has anyone solved the who owes who what part.  I&#039;m trying to do this for all the shared gifts my bro/sis bought over the holidays.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I love this&#8230;.but has anyone solved the who owes who what part.  I&#8217;m trying to do this for all the shared gifts my bro/sis bought over the holidays.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Verbeeck</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28374</link>
		<dc:creator>Bart Verbeeck</dc:creator>
		<pubDate>Wed, 31 Oct 2007 20:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28374</guid>
		<description>&lt;p&gt;Good question of Richard here...&lt;br&gt;
What is still missing is the minimum amount of transactions of who pays who now...&lt;br&gt;
I&#039;m really interested in that one...&lt;/p&gt;
&lt;p&gt;Bart&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good question of Richard here&#8230;<br />
What is still missing is the minimum amount of transactions of who pays who now&#8230;<br />
I&#8217;m really interested in that one&#8230;</p>
<p>Bart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28367</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 31 Oct 2007 12:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28367</guid>
		<description>&lt;p&gt;This looks excellent - but how do you then calculate who, specifically, owes what to who?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This looks excellent &#8211; but how do you then calculate who, specifically, owes what to who?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Its Friday again! Heres a list of Pimping Bookmarks</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28260</link>
		<dc:creator>Its Friday again! Heres a list of Pimping Bookmarks</dc:creator>
		<pubDate>Fri, 26 Oct 2007 08:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28260</guid>
		<description>&lt;p&gt;[...] Splitting the Check (Excel Tip) by Daily Dose of Excel [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Splitting the Check (Excel Tip) by Daily Dose of Excel [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28234</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Wed, 24 Oct 2007 22:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28234</guid>
		<description>&lt;p&gt;Why separate initials with semicolons rather than spaces? Why require a separator after the last set of initials? Using spaces as separators, allowing arbitrary redundant spaces but not requiring either initial or ending separators, it&#039;s possible to handle IDs with variable numbers of characters.&lt;/p&gt;
&lt;p&gt;=(LEN(TRIM($D3))+1-LEN(TRIM(SUBSTITUTE(&quot; &quot;&amp;SUBSTITUTE(TRIM($D3),&lt;br&gt;
&quot; &quot;,&quot;  &quot;)&amp;&quot; &quot;,&quot; &quot;&amp;TRIM(E$2)&amp;&quot; &quot;,TRIM(E$2)))))&lt;br&gt;
/(LEN(TRIM($D3))+1-LEN(SUBSTITUTE($D3,&quot; &quot;,&quot;&quot;)))*$B3&lt;br&gt;
-IF($C3=E$2,$B3,0)&lt;/p&gt;
&lt;p&gt;Then again, if you&#039;re going to do much text parsing in Excel, better by far to use Longre&#039;s MOREFUNC.XLL add-in.&lt;/p&gt;
&lt;p&gt;=REGEX.COUNT($D3,&quot;&quot;&amp;TRIM(E$2)&amp;&quot;&quot;)&lt;br&gt;
/(REGEX.COUNT(TRIM($D3),&quot; &quot;)+1)*$B3-IF($C3=E$2,$B3,0)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why separate initials with semicolons rather than spaces? Why require a separator after the last set of initials? Using spaces as separators, allowing arbitrary redundant spaces but not requiring either initial or ending separators, it&#8217;s possible to handle IDs with variable numbers of characters.</p>
<p>=(LEN(TRIM($D3))+1-LEN(TRIM(SUBSTITUTE(&#8221; &#8220;&amp;SUBSTITUTE(TRIM($D3),<br />
&#8221; &#8220;,&#8221;  &#8220;)&amp;&#8221; &#8220;,&#8221; &#8220;&amp;TRIM(E$2)&amp;&#8221; &#8220;,TRIM(E$2)))))<br />
/(LEN(TRIM($D3))+1-LEN(SUBSTITUTE($D3,&#8221; &#8220;,&#8221;")))*$B3<br />
-IF($C3=E$2,$B3,0)</p>
<p>Then again, if you&#8217;re going to do much text parsing in Excel, better by far to use Longre&#8217;s MOREFUNC.XLL add-in.</p>
<p>=REGEX.COUNT($D3,&#8221;&#8221;&amp;TRIM(E$2)&amp;&#8221;&#8221;)<br />
/(REGEX.COUNT(TRIM($D3),&#8221; &#8220;)+1)*$B3-IF($C3=E$2,$B3,0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28231</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Wed, 24 Oct 2007 18:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28231</guid>
		<description>&lt;p&gt;It isn&#039;t the complexity of the solution that caught my eye as much as the model that mapped the business problem into Excel.&lt;/p&gt;
&lt;p&gt;To use an &quot;integrated&quot; approach like Dick used, one must factor in both time and space.  When 3 people share a room, each implicitly (or explicitly) gets 1/3rd of the room.  With 2 in a room people get 1/2 of the room.  The model Dick used incorporated only the time dimension.&lt;/p&gt;
&lt;p&gt;[For those who have some experience with Activity Based Costing, this is analogous to using different metrics to allocate different types of fixed/overhead costs.  Some might be allocated based on time, some on quantity, some on space, and yet others on some other basis.]&lt;/p&gt;
&lt;p&gt;So, to stick with Dick&#039;s approach, break the room into 6 &#039;units&#039; (6 being the LCM of 2 and 3).  Now, BD used 2 units for each of 2 nights.  TO and FS, on the other hand, each used 2 units for the first 2 nights and then consumed 3 units on the third night.  Once one factors in time and space, one would find that irrespective of how many additional nights TO and FS stayed, BD&#039;s cost would be constant at 133.33&lt;/p&gt;
&lt;p&gt;With 3 nights (2 including BD), we get BD&#039;s share as 4/18 * 600 = 133.33&lt;br&gt;
With 2 (hypothetical) nights, BD&#039;s share would be 4/12 * 400 = 133.33&lt;br&gt;
With 4 (hypothetical) nights, BD&#039;s share would be 4/24 * 800 = 133.33&lt;/p&gt;
&lt;p&gt;That said, there&#039;s nothing as flexible, transparent, auditable, and simple as a method I first encountered in my college days.&lt;/p&gt;
&lt;p&gt;For each person, create 2 columns, the first a &#039;+&#039; column, the second a &#039;-&#039; column.&lt;/p&gt;
&lt;p&gt;Now, use one row to record the financial transaction for one event.  The definition of an event is, of course, flexible.&lt;/p&gt;
&lt;p&gt;For each event, for each person who pays enter the amount they paid in their &#039;+&#039; column.  For all those who should have paid enter the appropriate amount in their &#039;-&#039; column.&lt;/p&gt;
&lt;p&gt;The total cost of the event should equal the total of all the &#039;+&#039; entries, which should also equal the total of all the &#039;-&#039; entries!&lt;/p&gt;
&lt;p&gt;To get a &quot;bottom line&quot; number for each person to settle the account at the end, simply total up each column.  Take the difference between the &#039;+&#039; and &#039;-&#039; columns for each person and that&#039;s what s/he owes/is owed.&lt;/p&gt;
&lt;p&gt;The ultimate in flexibility, auditability, and transparency.  Do this in Excel and one can use formulas in the cells to calculate a number.&lt;/p&gt;
&lt;p&gt;Take Hotel1 in Dick&#039;s example.  Suppose TO and FS had split the bill.  Then, the entries for the row corresponding to Hotel1 would look like:&lt;/p&gt;
&lt;p&gt;Total amount $600&lt;br&gt;
TO + $300&lt;br&gt;
FS + $300&lt;br&gt;
BD - $133.33&lt;br&gt;
TO - $233.33&lt;br&gt;
FS - $233.33&lt;/p&gt;
&lt;p&gt;Now, suppose the deal was that TO would cover BD&#039;s share while FS would pay just his own share.  The entry would now be:&lt;/p&gt;
&lt;p&gt;Total amount $600&lt;br&gt;
TO + $366.67&lt;br&gt;
FS + $233.33&lt;br&gt;
BD - $133.33&lt;br&gt;
TO - $233.33&lt;br&gt;
FS - $233.33&lt;/p&gt;
&lt;p&gt;The above model would satisfy not only GAAP but even SOX!  &quot;Linearize&quot; the above and get a system consistent with a relational database model.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It isn&#8217;t the complexity of the solution that caught my eye as much as the model that mapped the business problem into Excel.</p>
<p>To use an &#8220;integrated&#8221; approach like Dick used, one must factor in both time and space.  When 3 people share a room, each implicitly (or explicitly) gets 1/3rd of the room.  With 2 in a room people get 1/2 of the room.  The model Dick used incorporated only the time dimension.</p>
<p>[For those who have some experience with Activity Based Costing, this is analogous to using different metrics to allocate different types of fixed/overhead costs.  Some might be allocated based on time, some on quantity, some on space, and yet others on some other basis.]</p>
<p>So, to stick with Dick&#8217;s approach, break the room into 6 &#8216;units&#8217; (6 being the LCM of 2 and 3).  Now, BD used 2 units for each of 2 nights.  TO and FS, on the other hand, each used 2 units for the first 2 nights and then consumed 3 units on the third night.  Once one factors in time and space, one would find that irrespective of how many additional nights TO and FS stayed, BD&#8217;s cost would be constant at 133.33</p>
<p>With 3 nights (2 including BD), we get BD&#8217;s share as 4/18 * 600 = 133.33<br />
With 2 (hypothetical) nights, BD&#8217;s share would be 4/12 * 400 = 133.33<br />
With 4 (hypothetical) nights, BD&#8217;s share would be 4/24 * 800 = 133.33</p>
<p>That said, there&#8217;s nothing as flexible, transparent, auditable, and simple as a method I first encountered in my college days.</p>
<p>For each person, create 2 columns, the first a &#8216;+&#8217; column, the second a &#8216;-&#8217; column.</p>
<p>Now, use one row to record the financial transaction for one event.  The definition of an event is, of course, flexible.</p>
<p>For each event, for each person who pays enter the amount they paid in their &#8216;+&#8217; column.  For all those who should have paid enter the appropriate amount in their &#8216;-&#8217; column.</p>
<p>The total cost of the event should equal the total of all the &#8216;+&#8217; entries, which should also equal the total of all the &#8216;-&#8217; entries!</p>
<p>To get a &#8220;bottom line&#8221; number for each person to settle the account at the end, simply total up each column.  Take the difference between the &#8216;+&#8217; and &#8216;-&#8217; columns for each person and that&#8217;s what s/he owes/is owed.</p>
<p>The ultimate in flexibility, auditability, and transparency.  Do this in Excel and one can use formulas in the cells to calculate a number.</p>
<p>Take Hotel1 in Dick&#8217;s example.  Suppose TO and FS had split the bill.  Then, the entries for the row corresponding to Hotel1 would look like:</p>
<p>Total amount $600<br />
TO + $300<br />
FS + $300<br />
BD &#8211; $133.33<br />
TO &#8211; $233.33<br />
FS &#8211; $233.33</p>
<p>Now, suppose the deal was that TO would cover BD&#8217;s share while FS would pay just his own share.  The entry would now be:</p>
<p>Total amount $600<br />
TO + $366.67<br />
FS + $233.33<br />
BD &#8211; $133.33<br />
TO &#8211; $233.33<br />
FS &#8211; $233.33</p>
<p>The above model would satisfy not only GAAP but even SOX!  &#8220;Linearize&#8221; the above and get a system consistent with a relational database model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28193</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Mon, 22 Oct 2007 15:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28193</guid>
		<description>&lt;p&gt;First point:  Tushar says that BD should only be paying 2/9 of Hotel1 (1/3 of 2 nights) not 2/8 (2 man-nights of 8 man-nights).  Since I wasn&#039;t &#039;BD&#039;, I won&#039;t be changing that calculation.  My story is that we consumed 8 man-nights and he consumed 2 of them.&lt;/p&gt;
&lt;p&gt;Second point:  This formula is neither large nor complex.  I generally agree with your points about helper columns and large, complex formulas, but I don&#039;t think those criticisms apply here.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>First point:  Tushar says that BD should only be paying 2/9 of Hotel1 (1/3 of 2 nights) not 2/8 (2 man-nights of 8 man-nights).  Since I wasn&#8217;t &#8216;BD&#8217;, I won&#8217;t be changing that calculation.  My story is that we consumed 8 man-nights and he consumed 2 of them.</p>
<p>Second point:  This formula is neither large nor complex.  I generally agree with your points about helper columns and large, complex formulas, but I don&#8217;t think those criticisms apply here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28192</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Mon, 22 Oct 2007 14:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28192</guid>
		<description>&lt;p&gt;With Jon also.&lt;/p&gt;
&lt;p&gt;Just watch what happens when next time you forget to add the ; at the end of a data cell.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>With Jon also.</p>
<p>Just watch what happens when next time you forget to add the ; at the end of a data cell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niek Otten</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/10/19/splitting-the-check/#comment-28173</link>
		<dc:creator>Niek Otten</dc:creator>
		<pubDate>Sun, 21 Oct 2007 21:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1742#comment-28173</guid>
		<description>&lt;p&gt;Jon,&lt;/p&gt;
&lt;p&gt;I agree wholeheartedly. I really admire the creators of very, very clever SUMPRODUCT formulas, but I&#039;d never give one as a solution to casual Excel users, even if I could :-). My past responsibility for certifying spreadsheet solutions also gave me a preference for intermediate results; so much easier to validate. &lt;/p&gt;
&lt;p&gt;Niek&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>I agree wholeheartedly. I really admire the creators of very, very clever SUMPRODUCT formulas, but I&#8217;d never give one as a solution to casual Excel users, even if I could <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . My past responsibility for certifying spreadsheet solutions also gave me a preference for intermediate results; so much easier to validate. </p>
<p>Niek</p>
]]></content:encoded>
	</item>
</channel>
</rss>

