+ Reply to Thread
Results 1 to 5 of 5

Trying to sumifs with 3 columns

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    80

    Trying to sumifs with 3 columns

    Hi everyone,

    I have attached a spreadsheet to exemplify my query. I wish to add up the number of parts for specific scenarios, eg.

    Add up the number of parts in column B when the Batch (column C) is 3 and Status (column D) is either Pending or Dispatched.

    I've been trying to nest sumproduct with sumif functions, to no avail. Can anyone help please?

    Cheers, AV
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Trying to sumifs with 3 columns

    Try this.....

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Trying to sumifs with 3 columns

    Hi

    According your sample(3 options in columnD), this does the job.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    11-09-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Trying to sumifs with 3 columns

    Thanks very much

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Trying to sumifs with 3 columns

    Here's another one.

    Use cells to hold the criteria.

    F2 = 3
    G2 = Pending
    H2 = Dispatched

    Then, this formula:

    =SUMPRODUCT(SUMIFS(B:B,C:C,F2,D:D,G2:H2))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Sumifs of non static columns and specific line %
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 06-19-2013, 04:31 AM
  2. SUMIFS with multiple sum range columns
    By bvmk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2013, 03:39 PM
  3. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 AM
  4. SUMIFS - including both columns and rows ?
    By sirkusjon in forum Excel General
    Replies: 2
    Last Post: 12-09-2011, 04:57 PM
  5. Using sumifs referencing columns that move
    By jdame95 in forum Excel General
    Replies: 2
    Last Post: 09-01-2011, 11: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