+ Reply to Thread
Results 1 to 6 of 6

SUMIFS statement for a range?

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    SUMIFS statement for a range?

    Name Diluted Tons Heading Reliant
    bbt2928_1010S_A006__ 0 bbt2928_1010S_A001__ =SUMIFS(?)
    bbt2928_1010S_A001__ 0
    bbt2928_1010S_A001__ 0
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010S_D001__ 105
    bbt2928_1010L_C003__ 101


    I'm hitting a brick wall with this problem and hoping you guys can help.
    In plain english, what I want to do is "sum the values in Column B for only the respective value in column A that follows the value in column A that matches the value in C2"
    So what I would like to see is a value of 945 in D2.
    Can this be done through excel formulas or am I going to have to do some VBA for this?

    Any help is appreciated!

  2. #2
    Valued Forum Contributor Dunc3142's Avatar
    Join Date
    09-05-2007
    Location
    Franklin OH
    MS-Off Ver
    2000 and 2007 and 2010 @ Home & Teach 2010
    Posts
    351

    Re: SUMIFS statement for a range?

    I think I have what you want. Not SUMIFS just SUMIF.
    Attached Files Attached Files
    Yes it will. we just have to figure out how...
    If I have helped you, PLEASE click the * and add to my Rep.
    Also, if the problem is SOLVED please mark it as so.

  3. #3
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: SUMIFS statement for a range?

    Try this.

    Please Login or Register  to view this content.
    Tom S.
    ↙ If you find my reply helpful click on the * down there on the left. Yeah that's it, right there, down on the left
    If your question is resolved, mark it SOLVED using the thread tools.

  4. #4
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: SUMIFS statement for a range?

    Thanks, but this isn't exactly where I'm hitting my wall. I don't know how to tell excel to search for the value in column A that is found in that range after the value in C1 and sum that value's respecive numbers in column B.
    So I want everything in column B that has a bbt2928_1010S_D001__(and only this value) next to it to be summed.
    Sorry if I'm being unclear, its kind of tough to explain i suppose, hence the reason I asked if I may have to use code for this.

  5. #5
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: SUMIFS statement for a range?

    The value in C2 only matches A3 and A4 and the amount in B3 and B4 are both 0 so the result is 0. Try changing C2 to "bbt2928_1010S_D001__" and you will get a number. Maybe I'm misunderstanding the question again??

    Edit: it just occurred to me that you may be trying to do a countif or countifs is that what you need?
    Last edited by Tank997; 03-19-2013 at 06:52 PM.

  6. #6
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: SUMIFS statement for a range?

    Yeah, sorry for not being clear. I'm wanting to say "Find the value in C2 in column A. Find the next value in column A that follows the value in C2."
    So I want B5 through B13 summed. These are the values that correspond to bbt2928_1010S_D001__, which is the next value in the column after the value found in C2.

+ 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