+ Reply to Thread
Results 1 to 4 of 4

Using SUMIF To sum cells meeting multiple criterion from another column

  1. #1
    Registered User
    Join Date
    04-03-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    7

    Using SUMIF To sum cells meeting multiple criterion from another column

    Hi all, thanks in advance for any help.

    I have a very large spreadsheet. On one worksheet, I have the all the data, and on a second worksheet I have tables calculating statistics from the first worksheet.

    I am trying to calculate a certain stat. it is

    - the sum of all profit (column G in worksheet 1)
    - when the instrument prefix (column H in worksheet 1) is ZB (or whatever the value is in column C in the second spreadsheet)
    - and the account is (column C in worksheet 1) is DmiMA2 (or whatever the value is in column B in the second spreadsheet, which I realize is labeled 'strategy')
    - and the week beginning (column I in worksheet 1) is 7/7/13 (or whatever the column A in the second spreadsheet)

    I believe this can be done by SUMIF, but I'm not sure how to express that complex set of condition. It also feels somewhat like a LOOKUP function, since I am asking excel to lookup a value and add those values together).

    I've attached a spreadsheet, if it'll help
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Using SUMIF To sum cells meeting multiple criterion from another column

    you are almost there, take a look at sumifS() intead
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-03-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Using SUMIF To sum cells meeting multiple criterion from another column

    Thanks a million. That's what I was looking for. I'm on my way

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Using SUMIF To sum cells meeting multiple criterion from another column

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ 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. Number of items meeting a > criterion
    By MikeDH in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  2. [SOLVED] Number of items meeting a > criterion
    By David Billigmeier in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  3. Number of items meeting a > criterion
    By David Billigmeier in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  4. Number of items meeting a > criterion
    By MikeDH in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. Number of items meeting a > criterion
    By MikeDH in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10: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