0

Sort not working

Hello,

I have created a report with information from 3 tables - customer, census (customized table) and detailed customer ledger entry. It should have been fairly simply (I discovered snippets yesterday and love it!) - I'm pulling customer number and name from the customer table, the sum of invoices/credit memos for each quarter from Det. Customer ledger enty and the suite number from the census table for the specified customers. I have some suite numbers that start with D (D01..D29) and the other suite number are numberic (101..351). This is a Seniors Residence.

I am trying to summarize the data for each group of suite numbers (D01..D29) and (101..351). I've tried the usual sort on the ("+audit unit code","*"") from the census table but the report is still sorted by customer number. I read another post and tried the following instead but it still does not work.

=NL(,"Census","Audit Unit code","Tenant Code",$E12,"+=NF(,""Audit Unit code"")","*")

(The tenant code in the census table is the same as the customer number)

The alternative is to create totals using a sumif or some other formula that I'm probably not familiar with. After much research I found some help on the internet and tried the following:

=SUMIF(G12:G13,"D01", H12:H13)+SUMIF(G12:G13,"D02",H12:H13)+SUMIF(G12:G13,"D03",H12:H13)…
This does give me the required results for one group (D01..D29) but there just has to be a better way. You can imagine how long the formula is for 29 suites not to mention suites 101..351. HELP!!

I'm still new to Jet and not very strong with Excel formulas so any help will be greatly appreciated.

Regards,
Michelle

4 comments

Please sign in to leave a comment.