+ Reply to Thread
Results 1 to 3 of 3

SUMIF with multiple criteria (maybe SUMIFS better)

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    10

    SUMIF with multiple criteria (maybe SUMIFS better)

    Hi all,

    Been having an issue with SUMIF or SUMIFS. Would appreciate any help on this. Have attached an excel as a reference.

    I want a formula whereby i get all calues of the Letter A on the condition that the cell above this letter A has at least one word within a named range.

    I have 2 names ranges:
    list = B2:B22
    test=A2:B2

    In my sheet, I want to add the values in column C which have the value A in column B AND also that the cell above this contains either 'alpha' or 'beta' (will make more sense in the excel).

    It is important to refer to the named ranges. So simply, if I wanted to add up the values of A, I would use:
    =sumif(list,E1,offset(list,,1,,)) This gives value of 75

    I want a similar formula to give a value of 65 (summation of cells highlighted in orange)

    In essence I want a fromula like:

    =sumif(list,there is a letter A such that the cell above it contains any of the words within my 'test' named range (alpha or beta),offset(list,,1,,)) This gives value of 65 as only cells C3,C6 and C16 have a letter A in column B AND that the cell above this has either the word alpha or beta.

    Many thanks to all.
    Attached Files Attached Files

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: SUMIF with multiple criteria (maybe SUMIFS better)

    This should do it for you

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

  3. #3
    Registered User
    Join Date
    08-01-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    10

    Re: SUMIF with multiple criteria (maybe SUMIFS better)

    Amazing - Cheers Bob

+ 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\Sumifs - Multiple criteria - Need help
    By maddy_82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2015, 12:14 PM
  2. Sumif\Sumifs - Multiple criteria - Need help
    By maddy_82 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-30-2015, 08:28 AM
  3. [SOLVED] Sumif/Sumifs multiple criteria OR instead of AND
    By CRIMEDOG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2014, 11:30 AM
  4. Multiple items on criteria for SUMIF (but not with SUMIFS)
    By Pullo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-16-2014, 01:17 PM
  5. [SOLVED] SUMIF or SUMIFS adding time where criteria is in multiple columns
    By 66ev in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 02:21 PM
  6. Replies: 2
    Last Post: 01-23-2013, 06:25 AM
  7. [SOLVED] SumIf / SumIfs with multiple Contains Text criteria
    By theweirdone in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2012, 05:22 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