I'm attaching a quick sample to better explain what I mean. Right click the link, Save As, open in design mode and preview. Put an amount in the Total field, and add some rows to the repeating table with a category of A (use a capital A, that is what I used in my sum formulas). If total is blank and you have amounts in the table, you'll get 'Infinity' in the expression box with the div function. If total is blank and you don't have amounts, you get NaN. If total is zero, you'll have an error too, since we can't divide by zero. I've conditionally hidden another expression box with the same formula, so that you can see how it would only display when there is an amount in total. Hope this helps!