A full carton of books shipped = 5 books. We are trying to bill our customer for full and partial boxes of books shipped, and I need for Crystal to ALWAYS round up to the next number unless the quantity of books sold is >5. How can I get this formula to NOT return a quantity of 8.4 for an order of 42 books, but "9" for 8 full boxes and 1 partial?
Here's what I have so far:
if Sum ({oelinhst_sql.qty_ordered}, {oehdrhst_sql.ord_no})>5 then (Sum ({oelinhst_sql.qty_ordered}, {oehdrhst_sql.ord_no})/5) else 1
Here's what I have so far:
if Sum ({oelinhst_sql.qty_ordered}, {oehdrhst_sql.ord_no})>5 then (Sum ({oelinhst_sql.qty_ordered}, {oehdrhst_sql.ord_no})/5) else 1