+ Reply to Thread
Results 1 to 3 of 3

If question I think

  1. #1
    Registered User
    Join Date
    02-28-2006
    Posts
    24

    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((B18>C18),(B18-C18),IF((C18>B18),(C18-B18),$A$1)).

    Forecast Actual Variance
    8211 9097 886
    7233 8276 1043
    7025 8025 1000
    6682 7523 841
    9866 0 9866
    8510 0 8510
    7475 0 7475

  2. #2
    Ardus Petus
    Guest

    Re: If question I think

    =IF(AND(B18="",c18=""),"",IF(B18=C18,$A$1,ABS(B18-C18))

    HTH
    --
    AP

    "kelljeff" <[email protected]> a écrit
    dans le message de news:
    [email protected]...
    >
    > 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
    > 8211 9097 886
    > 7233 8276 1043
    > 7025 8025 1000
    > 6682 7523 841
    > 9866 0 9866
    > 8510 0 8510
    > 7475 0 7475
    >
    >
    > --
    > kelljeff
    > ------------------------------------------------------------------------
    > kelljeff's Profile:
    > http://www.excelforum.com/member.php...o&userid=32007
    > View this thread: http://www.excelforum.com/showthread...hreadid=542439
    >




  3. #3
    Beege
    Guest

    Re: If question I think

    kelljeff

    =IF(OR(B18="",B18=0),"",ABS(A18-B18))

    Beege

    "kelljeff" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    > 8211 9097 886
    > 7233 8276 1043
    > 7025 8025 1000
    > 6682 7523 841
    > 9866 0 9866
    > 8510 0 8510
    > 7475 0 7475
    >
    >
    > --
    > kelljeff
    > ------------------------------------------------------------------------
    > kelljeff's Profile:
    > http://www.excelforum.com/member.php...o&userid=32007
    > View this thread: http://www.excelforum.com/showthread...hreadid=542439
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1