+ Reply to Thread
Results 1 to 4 of 4

SUMIF 2 columns?

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    Chico, CA
    MS-Off Ver
    2011
    Posts
    14

    SUMIF 2 columns?

    I have two columns I want to sum up and one condition.

    Is there a function to sum both columns without having to combine the two columns?

    Ex:


    A B C
    5 5 active
    5 5 cancelled
    5 5 active

    I want a formula that adds up to 20 based on "active" condition.

    Currently, my SUMIF equation would only return 10 from summing up column A only.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMIF 2 columns?

    Hi

    Just add an additional SUMIF. i.e.

    =SUMIF(C:C,"Active",A:A)+SUMIF(C:C,"Active",B:B)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    04-15-2016
    Location
    Chico, CA
    MS-Off Ver
    2011
    Posts
    14

    Re: SUMIF 2 columns?

    oh cool, thanks!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMIF 2 columns?

    My pleasure and thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. sumif with not columns far apart
    By makinmomb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2014, 04:24 PM
  2. [SOLVED] Sumif two columns matching another two columns
    By kl99ny in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-11-2013, 02:08 PM
  3. SUMIF Several Columns
    By lampoonsaat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2011, 01:11 PM
  4. SumIf across columns
    By Lithium78 in forum Excel General
    Replies: 12
    Last Post: 02-19-2010, 04:01 AM
  5. Sumif across columns-Sum pay-
    By mremmenga in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-12-2008, 05:42 PM
  6. Sumif for multiple columns
    By bigbill3599 in forum Excel General
    Replies: 4
    Last Post: 06-06-2008, 02:10 AM
  7. Sumif across columns
    By mminsf in forum Excel Formulas & Functions
    Replies: 52
    Last Post: 09-06-2005, 12:05 PM

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