+ Reply to Thread
Results 1 to 12 of 12

Sumif?

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Sumif?

    I am having a brain fart! I want the cell in D to total of all of B:B where what is in A:A is in C. Something like =SUMIF(A2:A19,C2,B2:B19)

    Untitled.png
    Last edited by builderific; 10-01-2013 at 03:17 PM.

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Sumif?

    please post a workbook instead of a picture, so folks can work out a formula for you
    When I say semicolon, u say comma!

  3. #3
    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,926

    Re: Sumif?

    Hi and welcome to the forum :0

    the sumif() syntax is...

    =SUMIF(criteria-range, criteria,sum-range)

    so maybe....
    =sumif(A:A,C1,B:B)

    also, please dont upload pics, rather send us a sample workbook
    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

  4. #4
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Sumif?

    Sorry new to this forum so I have not figured out how to upload a workbook.
    That is what I was afraid of. Sumif is not really what I need I think... Sumif says that the value in A:A would be the same as the value in C1.
    I need the cell at say D3 to total up all of the values in B:B where the text in A:A exists in C3.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Sumif?

    Hi builder
    This seems to do what you're asking for I think

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Sumif?

    It dawned on me that Excel 2003 might not have the Iferror function. Dunno as I've never used it.
    Here's another alternative

    Please Login or Register  to view this content.

  7. #7
    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,926

    Re: Sumif?

    builder, your profile says 2003, but your upload indicates 2007 or later, please update your profile as needed. Members often tailor a suggestion based on the version you say you have (see above lol)
    Also, I would suggest you include a few sample answers and show how you arrived at them please

    Phil, the file is 2007 or later so IFERROR() should work, and no, 2003 does not support that function.

  8. #8
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Sumif?

    welcome to the forum, builderific. try this in D2:
    =SUMPRODUCT(ISNUMBER(SEARCH(" "&$A$2:$A$93&","," "&C2&","))*$B$2:$B$93)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  9. #9
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Sumif?

    Thank you all!
    Last edited by builderific; 10-02-2013 at 10:03 AM.

  10. #10
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Sumif?

    Thank you benishiryo! That was the ticket! You guys rock!

  11. #11
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Sumif?

    Profile Updated! Thanks again!

  12. #12
    Registered User
    Join Date
    10-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Sumif?

    Quote Originally Posted by Philb1 View Post
    Hi builder
    This seems to do what you're asking for I think

    Please Login or Register  to view this content.
    Thank you Philb1 . This was not quite it because I needed ALL of the values in A:A not just one specific cell.

+ 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 or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  2. Replies: 0
    Last Post: 08-17-2012, 02:02 PM
  3. SUMIF Question: SUMIF not blank
    By nickyg in forum Excel General
    Replies: 5
    Last Post: 11-18-2009, 10:07 PM
  4. Nested SUMIF statement or multiple SUMIF's
    By Dan27 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2009, 06:55 AM
  5. [SOLVED] nested sumif or sumif with two criteria
    By dshigley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2005, 11:06 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