+ Reply to Thread
Results 1 to 3 of 3

Help understaning an IF Statement

  1. #1
    Registered User
    Join Date
    05-17-2006
    Posts
    1

    Help understaning an IF Statement

    Can someone please help me to understand what the following piece of code is doing , thanks

    =IF('Input'!O$60="","",SUM('Input - '!D60:O60)/SUM(abc!C$13:N$13))

    many thanks for your assistance

  2. #2
    sumitk
    Guest

    RE: Help understaning an IF Statement

    If cell o60 is blank, the result will be blank.

    Else...
    The result will be the sum of cells D60 to O60 (from the Input sheet)
    divided by the sum of cells C13 to N13 (from the abc sheet)

    Hope this helps.

    sk

    "big mann" wrote:

    >
    > Can someone please help me to understand what the following piece of
    > code is doing , thanks
    >
    > =IF('Input'!O$60="","",SUM('Input - '!D60:O60)/SUM(abc!C$13:N$13))
    >
    > many thanks for your assistance
    >
    >
    > --
    > big mann
    > ------------------------------------------------------------------------
    > big mann's Profile: http://www.excelforum.com/member.php...o&userid=34543
    > View this thread: http://www.excelforum.com/showthread...hreadid=543085
    >
    >


  3. #3
    Otto Moehrbach
    Guest

    Re: Help understaning an IF Statement

    If O60 of the Input sheet is blank, result is a blank cell. Otherwise, get
    the sum of D60:O60 in the Input sheet, and divide it by the sum of C13:N13
    in the abc sheet. Also, that is not code (not a part of a macro). Rather
    it is a cell formula. HTH Otto
    "big mann" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Can someone please help me to understand what the following piece of
    > code is doing , thanks
    >
    > =IF('Input'!O$60="","",SUM('Input - '!D60:O60)/SUM(abc!C$13:N$13))
    >
    > many thanks for your assistance
    >
    >
    > --
    > big mann
    > ------------------------------------------------------------------------
    > big mann's Profile:
    > http://www.excelforum.com/member.php...o&userid=34543
    > View this thread: http://www.excelforum.com/showthread...hreadid=543085
    >




+ 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