I am writing a report that is an income statement. I have the account descriptions, account numbers and totals but I need to subtotal by account number where the account number is between x and x. The account numbers are a 7 character string. I can't figure out how to group them or summarize them. If you are familiar with accounting you know that
there is a group for Revenues and Cost of Sales and Gross Profit, etc. and then I need a grand total for all of that. Can you help me please, I'm just stuck on that group/summary formula thing. Here is what I have so far
if {@AcctNo_Convert} > 4000 and {@AcctNo_Convert} < 5000
then
"Revenues"
if {@AcctNo_Convert} > 5000 and {@AcctNo_Convert} < 7000
then
"COS"
if {@AcctNo_Convert} > 7000 and {@AcctNo_Convert} < 8000
then
"SGA"
if {@AcctNo_Convert} > 8000 and {@AcctNo_Convert} < 9000
then
"Other"
else "Acct not defined"
of course this doesn't work, the first line will work without the rest. Maybe that gives a general idea of what I want to do. If there is a better way I'm certainly open to it. Thanks
there is a group for Revenues and Cost of Sales and Gross Profit, etc. and then I need a grand total for all of that. Can you help me please, I'm just stuck on that group/summary formula thing. Here is what I have so far
if {@AcctNo_Convert} > 4000 and {@AcctNo_Convert} < 5000
then
"Revenues"
if {@AcctNo_Convert} > 5000 and {@AcctNo_Convert} < 7000
then
"COS"
if {@AcctNo_Convert} > 7000 and {@AcctNo_Convert} < 8000
then
"SGA"
if {@AcctNo_Convert} > 8000 and {@AcctNo_Convert} < 9000
then
"Other"
else "Acct not defined"
of course this doesn't work, the first line will work without the rest. Maybe that gives a general idea of what I want to do. If there is a better way I'm certainly open to it. Thanks