I have a client running SAGE 100 v2019. I created a CR report that reads the AR Histiory Detail file and summarized all the QTY SOLD amounts and Extended Amounts and prints a total line for each CI_Item break. I don't believe I labeled my formula field correctly, but when I print a total line on my report, I divide the
Sum of all Extended Amounts by the
Sum of QTY SOLD to create an Average Unit Sales Price. However, some months I get an error message because the total line is trying to divide when Sum of QTY SOLD = 0.00. How can I change my formula to test for and fix the "Division by ZERO" error message? I have attached my formula field below.
Thank for any help,
------------------------------
Michael McDonald - Consultant
Michael T McDonald CPA
(616) 813-8887 -
mike@mcdcpa.com------------------------------