+ Reply to Thread
Results 1 to 9 of 9

sumif or index formula help

  1. #1
    Registered User
    Join Date
    06-06-2006
    Posts
    27

    sumif or index formula help

    Hello, i've attached a worksheet that helps explain my issue with either a sumif or index formula.

    I basically would like a formula that will help me search for a particular name and give me that dollar amount from another column but to exclude another column that is associated with that particular name as well.

    i might not be explaining myself correctly so hopefully viewing the excel file that i've attached can help better explain my issue.

    please, any help would be appreciated. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: sumif or index formula help

    ben803,

    In cell B25, try the following formula:
    =SUMPRODUCT(--($A$5:$A$16=A25),--($B$5:$B$16<>$A$31),$C$5:$C$16)

    and then copy down
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: sumif or index formula help

    How about:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    06-06-2006
    Posts
    27

    Re: sumif or index formula help

    wow, you guys are great. Thank you so much. I really really appreciate this. It works.

    Thank you again for your time.

  5. #5
    Registered User
    Join Date
    06-06-2006
    Posts
    27

    Re: sumif or index formula help

    oops, one more question. Same issue, but if i wanted to do a countif formula, is that possible?

  6. #6
    Registered User
    Join Date
    06-06-2006
    Posts
    27

    Re: sumif or index formula help

    was looking for the number "2" as my answer for a countif.

  7. #7
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: sumif or index formula help

    If you mean you just want to count the number of occurrences of matching criteria instead of summing the amount of matching occurrences, you would just leave out the last argument in the sumproduct formula (C5:C16) so that it looks like this:
    =SUMPRODUCT(--($A$5:$A$16=A25),--($B$5:$B$16<>$A$31))

  8. #8
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: sumif or index formula help

    Then try:

    Please Login or Register  to view this content.
    Cheers,

  9. #9
    Registered User
    Join Date
    06-06-2006
    Posts
    27

    Re: sumif or index formula help

    thank you again for your time. it definitely works.

+ 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