Variance, 0 Divisor, and Conditional responses

AMott

New Member
Joined
Jul 11, 2017
Messages
2
I am currently working on a sample events budget and I would like to show the variance between my actual and projected budgets and whether or not our forecasting was successful. However, there are some instances in the example where the actual amount used was $0.00 while there was a number placed in the projected budget. See table below...

FGHIJKLM
7ActualActual %ProjectedProjected %Variance %Equation from Column 'M' (not actually shown in table)
8Venue$300.009.93%Venue$500.0014.71%-66.67%=(G8-J8)/ABS(G8)
9Food & Bev$2,500.0082.78%Food & Bev$1,000.0029.41%60.00%=(G9-J9)/ABS(G9)
10Supplies$100.003.31%Supplies$300.008.82%-200.00%=(G10-J10)/ABS(G10)
11Staffing$110.003.64%Staffing$100.002.94%8.00%=(G11-J11)/ABS(G11)
12Speakers$0.000.00%Speakers$1,500.0044.12%#DIV/0!=(G12-J12)/ABS(G12)
13Other$10.000.33%Other$0.000.00%0.00%=(G13-J13)/ABS(G13)
14Total$3,020.00100.00%Total$3,400.00100.00%-12.58%=(G14-J14)/ABS(G14)

<tbody>
</tbody>


























When using this equation, (actual-projected)/ABS(actual)), the line items that did not have an actual expense or number return an error of #DIV/0!

Is it possible to combine that above formula with the formula (or similar formula) of =IFERROR(0,-100)? The purpose of this is to show that we were came in 100% under what we had projected for that line item.

Thanks in advance!
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,513
Office Version
365
Platform
Windows
Welcome to the Board!
Instead of using IFERROR, you can just use an IF checking if the divisor is 0. i.e.
Code:
[B][I]=IF(G12=0,100%,(G12-J12)/ABS(G12))[/I][/B]
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,513
Office Version
365
Platform
Windows
You are welcome!:)
 

Forum statistics

Threads
1,082,585
Messages
5,366,466
Members
400,892
Latest member
lamarh755

Some videos you may like

This Week's Hot Topics

Top