<div dir="ltr"><div>Actually, in my example there are 4 'physical' records (1234-0001 and 1234-0002-1, 1234-0002-2, 1234-0002-3)</div><div>But for purposes of what I need to calculate it should only be 2 records.....so yes, regardless of how many -1 -2 -3 ,etc that are on the end of the full acct number, it should only count the 'record' as 1 entity</div>
<div>So, let's suppose I have the following accounts for client number 1234:</div><div> </div><div>1234-0001 Bal Due 150.00</div><div>1234-0002-1 Bal Due 200.00</div><div>
1234-0002-2 Bal Due 200.00</div><div>1234-0002-3 Bal Due .00</div><div>1234-0003 Bal Due 800.00</div><div>1234-0004 Bal Due 500.00</div>
<div>1234-0005-1 Bal Due 300.00</div><div>1234-0005-2 Bal Due .00</div><div>1234-0006 Bal Due 50.00</div><div>1234-0007 Bal Due 150.00</div>
<div>1234-0008-1 Bal Due .00</div><div>1234-0008-2 Bal Due .00</div><div>1234-0008-3 Bal Due 100.00</div><div>1234-0008-4 Bal Due .00</div>
<div> </div><div>The report I'm trying to create should show there are: 8 records (0001 thru 0008) even though several have -1, -2 etc</div><div>and it should only calcluate the balance once for each of the 8 records with today bal due of 2250.00 (keeping in mind, it needs to look at all -1, -2, etc in case only one of them has a bal due. So, in case of 1234-0008-1 thru -4, typically the original total bal due would probably have been 400.00, and -1, -2 and -4 paid their 1/4 of orig bal due, so -3 still owes 100.00</div>
<div>So what I want is a report of total 'active' entities (not physical records) that have a balance and the total of the balances. So it should count those records without any 'associate' people as 1 record (i.e. 1234-0001, 1234-0003, 1234-0006 and 1234-0007 - obviously those are easy because it's just one person to that account number -- the issue is not counting 1234-0008-1 thru 1234-0008-4 as 4 records - just should be one record...and only grab the balance due once</div>
<div>Hope that helps</div><div>thanks</div><div> </div><div>Scott</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 1:02 PM, Kenneth Brody <span dir="ltr"><<a href="mailto:kenbrody@spamcop.net" target="_blank">kenbrody@spamcop.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 8/12/2013 11:21 AM, <a href="mailto:scooter6@gmail.com" target="_blank">scooter6@gmail.com</a> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Should seem simple but let me explain...<br>
</blockquote></div>
[...]<div class="im"><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Some records will only have 1 person associated with it<br>
i.e. 1234-0001 John Smith Balance 150.00<br>
So, field 1 = 1234<br>
Field 2 = 0001<br>
Field 3 = 1234-0001<br>
<br>
Some records will have multiple people associated with it<br>
i.e. 1234-0002-1 John Smith Balance 200.00<br>
1234-0002-2 Mary Smith Balance 200.00<br>
1234-0002-3 Billy Smith Balance .00 (paid their portion)<br>
<br>
In each case, each one of those should ONLY count as '1' record<br>
<br>
What I'm trying to do is get a count for all records, soley based on first<br>
9 digits<br>
So, if I run processing for client 1234, using the above example, it should<br>
show me I have 2 records (1234-0001 and 1234-0002, regardless that<br>
1234-0002 has -1 -2 and -3 associated with it.<br>
Each of these will also have a balance associated with them. I'm only<br>
wanting to pickup the balance 'once' for each of these records, even if one<br>
of the '-1, -2' etc has a zero balance.<br>
</blockquote></div>
[...]<br>
<br>
Why should those 3 records count as only 2? If you were shown those records and told to manually count them, by what process would you arrive at "2"?<br>
<br>
Is it purely the fact that client number "1234" has records with "0001" and "0002", regardless of how many "0001" and "0002" records exist? Or is there some other calculation involved?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Kenneth Brody<br>
</font></span></blockquote></div><br></div>