Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
If question... I think!
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((B18C18),(B18-C18),IF((C18B18),(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 -- kelljeff ------------------------------------------------------------------------ kelljeff's Profile: http://www.excelforum.com/member.php...o&userid=32007 View this thread: http://www.excelforum.com/showthread...hreadid=542441 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
If question... I think!
IF(Actual0,Actual-Forecast,0)
Example, assuming that Forecasts are in column A and actuals are in column B: =IF(B20,B2-A2,0) -- Kevin Backmann "kelljeff" wrote: 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((B18C18),(B18-C18),IF((C18B18),(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 -- kelljeff ------------------------------------------------------------------------ kelljeff's Profile: http://www.excelforum.com/member.php...o&userid=32007 View this thread: http://www.excelforum.com/showthread...hreadid=542441 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
If question... I think!
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) -- Gary Brown ------------------------------------------------------------------------ Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084 View this thread: http://www.excelforum.com/showthread...hreadid=542441 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding and deleting question marks | Excel Discussion (Misc queries) | |||
Summary Page Question | Excel Discussion (Misc queries) | |||
Pivot table question | Excel Discussion (Misc queries) | |||
How do I find and replace a question mark in Excel? | Excel Discussion (Misc queries) | |||
An easy macro question and one I believe to be a little more diffi | Excel Worksheet Functions |