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!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,213,536
Messages
6,114,211
Members
448,554
Latest member
Gleisner2

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