+ Reply to Thread
Results 1 to 3 of 3

Summing based on multiple criteria

  1. #1
    Registered User
    Join Date
    02-07-2011
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    42

    Unhappy Summing based on multiple criteria

    Hi Everyone,

    Can somebody please help me with this as its driving me nuts and I’m very close to launching my laptop out of the window.

    In a nut shell this is what I am trying to achieve,

    I want Excel to SUM coulomb H where,

    the date in coulomb C is greater than (Ref to cell with date entered)
    the date in coulomb C is less than (ref to cell with date entered)
    Coulomb E = (Ref to cell with name in)
    & Coulomb F = (Ref to Cell with name in)

    Hope that all makes sense, very quick draft copy attached.

    Thanks for any help in advance.

    E
    Attached Files Attached Files
    Last edited by Environment; 08-23-2011 at 10:20 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUMIF Maybe?

    If you are using XL2003, you need SUMPRODUCT:

    e.g.

    =SUMPRODUCT(--('Data Paste Sheet'!$C$8:$C$3000>=D2),--('Data Paste Sheet'!$C$8:$C$3000<='Selection Sheet'!D3),--('Data Paste Sheet'!$E$8:$E$3000=D4),--('Data Paste Sheet'!$F$8:$F$3000=D5),'Data Paste Sheet'!$H$8:$H$3000)

    You cannot use whole column references with SUMPRODUCT in XL2003 or prior, so adjust ranges so that you have the minimum required number of columns.

    If you have XL2007, you can use SUMIFS

    =SUMIFS('Data Paste Sheet'!$H:$H,'Data Paste Sheet'!$C:$C,">="&D2,'Data Paste Sheet'!$C:$C,"<="&'Selection Sheet'!D3,'Data Paste Sheet'!$E:$E,D4,'Data Paste Sheet'!$F:$F,D5)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-07-2011
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Summing based on multiple criteria

    NBVC, I could kiss you!!!!! Thank you so much the XL2003 version was just what i was after.

    My Stress levels have droped right off, thanks again.

    E

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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