If question... I think!

K

kelljeff

This is probably really easy but I can't get it to work. Please help!!!


Below is a sample of the spreadsheet...
I only want the variance to appear when there is something in the
actual field.
Here is what try IF((B18>C18),(B18-C18),IF((C18>B18),(C18-B18),$A$1)).

Forecast Actual Variance
7306 8214 908
9321 10173 852
8211 9097 886
7233 8276 1043
7025 8025 1000
6682 7523 841
9866 0 9866
8510 0 8510
7475 0 7475
7075 0 7075
6935 0 6935
 
K

Kevin B

IF(Actual>0,Actual-Forecast,0)

Example, assuming that Forecasts are in column A and actuals are in column B:

=IF(B2>0,B2-A2,0)
 
G

Gary Brown

If you don't want to see a variance when the actual is 0, then can't you
do:-

If(C18=0,0,C18-B18)
 
D

Don Guillett

in YOUR particular scenario, try this.
=IF(G1<1,"",MAX(F1:G1)-MIN(F1:G1))
or substitute "" for $a$1??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

If question I think 2

Top