Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: sum if

  1. #1
    Guest

    Default

    I need to sum the numbers in the column only if numbers appear in the same row in another column. in other words i want to sum column A contents, but only include the cell rows that have a value in column b.

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,658
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-03-13 08:16, Anonymous wrote:
    I need to sum the numbers in the column only if numbers appear in the same row in another column. in other words i want to sum column A contents, but only include the cell rows that have a value in column b.
    Care to elaborate which/what condition must hold for B-cells?


  3. #3
    Guest

    Default

    Type in this formula:
    =SUM(IF(ISNUMBER(B1:B100);A1:A100))
    and close off by pressing Ctrl-Shift-Enter. (this is a CSE or array formula).

    See http://www.mrexcel.com/tip011.shtml for more about CSE formulas.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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