+ Reply to Thread
Results 1 to 7 of 7

SUMIF or SUMIFS

  1. #1
    Registered User
    Join Date
    10-20-2011
    Location
    Poway, CA
    MS-Off Ver
    Excel 2016
    Posts
    21

    SUMIF or SUMIFS

    Do I need a SUMIF or SUMIFS formula? Not sure how to properly create this formula, or if this is even the right one to use here.

    I have a summary table on one tab (Summary) with expense categories that I need to summarize from the Product Sched tab. The sum needs to be by the appropriate month, capturing all of the expenses for the month that are categorized as "Pre-Clinical Studies" for example, regardless of which product they are associated with.

    Please see attached example.
    Thanks!!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,757

    Re: SUMIF or SUMIFS

    Basically, SUMIF is used only for a single condition, whereas SUMIFS can be used for multiple conditions. It seems to me that you have two conditions, i.e. month and category, but I'll take a look shortly after I've had a coffee break.

    Pete

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,757

    Re: SUMIF or SUMIFS

    Actually, there is only one condition, but you can still use SUMIFS in this situation. Put this formula in cell D3:

    =SUMIFS('Product Sched'!D:D,'Product Sched'!$B:$B,$B3)

    Then you can copy across and down as required.

    Hope this helps.

    Pete

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    50,570

    Re: SUMIF or SUMIFS

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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

  5. #5
    Registered User
    Join Date
    10-20-2011
    Location
    Poway, CA
    MS-Off Ver
    Excel 2016
    Posts
    21

    Re: SUMIF or SUMIFS - To add costs by account name and by category

    Pete_UK - this is exactly what I needed. Thanks so much for your help!!

  6. #6
    Registered User
    Join Date
    10-20-2011
    Location
    Poway, CA
    MS-Off Ver
    Excel 2016
    Posts
    21

    Re: SUMIF or SUMIFS

    Sorry about that, I added to the Thread Title to be more specific. Thanks Admin!! It's been years since I've come onto this forum and should have re-read the rules!!

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,757

    Re: SUMIF or SUMIFS - To add costs by account name and by category

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. [SOLVED] SUMIF or SUMIFS...
    By er0_sennin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2018, 08:06 AM
  2. [SOLVED] Help with SUMIF or SUMIFS
    By asghar32 in forum Excel General
    Replies: 6
    Last Post: 07-26-2017, 01:23 PM
  3. [SOLVED] help with SUMIF, or SUMIFS formula
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-15-2017, 11:25 AM
  4. sumif()- or sumifs()?
    By szeconku in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2015, 04:11 AM
  5. [SOLVED] Sumif/Sumifs
    By kimsem in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2014, 09:37 PM
  6. [SOLVED] Forumla Help - SumIf/SumIfs??
    By jlo33 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 02:25 PM
  7. Sumifs Or Sumif?
    By Carp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2007, 03:27 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