Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kelljeff
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Gary Brown
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding and deleting question marks jezzica85 Excel Discussion (Misc queries) 3 February 25th 06 09:05 AM
Summary Page Question EyeNoNothing via OfficeKB.com Excel Discussion (Misc queries) 1 February 18th 06 10:03 PM
Pivot table question gary Excel Discussion (Misc queries) 1 January 10th 06 06:25 PM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


All times are GMT +1. The time now is 05:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"