Results 1 to 17 of 17

SUMPRODUCT if Fields Match a RANGE of Criteria

Threaded View

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    18

    SUMPRODUCT if Fields Match a RANGE of Criteria

    I'd like to be able to use SUMPRODUCT to sum up a range of cells for which its category corresponds to a list of my criteria.

    For example (see attached), I want to sum up all cells in column B with a Category of A, B, or C (which is listed out in a range in column A), resulting in an output of 325 (orange cells). I'd like to be able to add whatever category I want to Column A, so the sumproduct criteria must refer to a range of cells. In other words, I can use OR in the sumproduct to achieve the same effect but I'd rather not because the Criteria lists can get quite large.

    sumproduct.png

    I believe the formula will look something like:

    =SUMPRODUCT(B2:B10,--(C2:C10=??????))
    Last edited by jtang128; 03-05-2015 at 03:51 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count SUMPRODUCT Members / Average of SUMPRODUCT
    By Shingaru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 03:59 PM
  2. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  3. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  4. Replies: 6
    Last Post: 03-09-2011, 08:01 AM
  5. Using a SumProduct Count to find a SumProduct Total?
    By XL021710 in forum Excel General
    Replies: 3
    Last Post: 02-18-2010, 08:31 AM

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