Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
910
#Div/0
posted

I have a pretty simple formula in several columns of a grid that I am exporting to Excel. it's Average Dollars Per Sale (Net Sales$/# of Sales Transactions). Originally I actually populated each cell with the actual number, but I wanted to use a formula instead so that they can subtotal the average properly in Excel. 

Problem is, where there's no data, I am getting a divide by zero error. Ugly, but I wouldn't care if it didn't screw up subtotaling, but it does. 

I need some way of NOT putting the formula in a cell (or overwriting it with nulls) when the result of that formula is going to be a problem.

Problem is, it appears that your formulas work at the Column, not cell level via the InitializeLayout event. 

Is there any way to make this 'smarter', or to massage 'problem cells' after the fact?

Thanks.

Parents Reply Children
No Data