Originally Posted by
windrain
I am having trouble with a #DIV/0! when calculating the percentages used and also remaining available. This happens if the Monthly Budget (column D on attached) cell is 0.
You cannot, by definition, determine a percentage of 0. That is why you get the error. All you can do it leave the result blank if the budget is 0 or blank. Example:
I have to admit that I am unsure of column N, this may be a math issue. I feel like they are right. Also for rows that have no amount in either column J or K, it would be nice to have a blank in columns M and N instead of 0%.
Formula above also covers that case. Alternatively, instead of blank you could show some sort of message to indicate that there was no budget.
Also for column M, if the amount in column K is higher than column J I feel like it should be a negative because they over spent, thats what I put in row M16 . Row M19 I left it at the 121%, just to show what I mean.
This is incorrect. Column M is the "% of Budget Spent." It must be 0 or positive; you cannot spend a negative amount of money. If you overspend the budget this number will be >100%. In such a case, column H "Remaining % of Budget" will be negative.
I have tweaked your file to reflect these suggestions.
Bookmarks