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...

[TABLE="class: grid, width: 400, align: left"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]M[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD][/TD]
[TD]Actual[/TD]
[TD]Actual %[/TD]
[TD][/TD]
[TD]Projected[/TD]
[TD]Projected %[/TD]
[TD][/TD]
[TD]Variance %[/TD]
[TD]Equation from Column 'M' (not actually shown in table)
[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]Venue[/TD]
[TD]$300.00[/TD]
[TD]9.93%[/TD]
[TD]Venue[/TD]
[TD]$500.00[/TD]
[TD]14.71%[/TD]
[TD][/TD]
[TD]-66.67%[/TD]
[TD]=(G8-J8)/ABS(G8)[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]Food & Bev[/TD]
[TD]$2,500.00[/TD]
[TD]82.78%[/TD]
[TD]Food & Bev[/TD]
[TD]$1,000.00[/TD]
[TD]29.41%[/TD]
[TD][/TD]
[TD]60.00%[/TD]
[TD]=(G9-J9)/ABS(G9)[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD]Supplies[/TD]
[TD]$100.00[/TD]
[TD]3.31%[/TD]
[TD]Supplies[/TD]
[TD]$300.00[/TD]
[TD]8.82%[/TD]
[TD][/TD]
[TD]-200.00%[/TD]
[TD]=(G10-J10)/ABS(G10)[/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD]Staffing[/TD]
[TD]$110.00[/TD]
[TD]3.64%[/TD]
[TD]Staffing[/TD]
[TD]$100.00[/TD]
[TD]2.94%[/TD]
[TD][/TD]
[TD]8.00%[/TD]
[TD]=(G11-J11)/ABS(G11)[/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD]Speakers[/TD]
[TD]$0.00[/TD]
[TD]0.00%[/TD]
[TD]Speakers[/TD]
[TD]$1,500.00[/TD]
[TD]44.12%[/TD]
[TD][/TD]
[TD]#DIV/0![/TD]
[TD]=(G12-J12)/ABS(G12)[/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD]Other[/TD]
[TD]$10.00[/TD]
[TD]0.33%[/TD]
[TD]Other[/TD]
[TD]$0.00[/TD]
[TD]0.00%[/TD]
[TD][/TD]
[TD]0.00%[/TD]
[TD]=(G13-J13)/ABS(G13)[/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD]Total[/TD]
[TD]$3,020.00[/TD]
[TD]100.00%[/TD]
[TD]Total[/TD]
[TD]$3,400.00[/TD]
[TD]100.00%[/TD]
[TD][/TD]
[TD]-12.58%[/TD]
[TD]=(G14-J14)/ABS(G14)[/TD]
[/TR]
</tbody>[/TABLE]


























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!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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]
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top