+ Reply to Thread
Results 1 to 5 of 5

Count/Sum/Index/Match.........HELP

  1. #1
    Registered User
    Join Date
    10-30-2003
    Posts
    49

    Count/Sum/Index/Match.........HELP

    I am at a loss and need your (novice, intermediate, expert) assistance. This is probably a very simple solution, but I am not seeing it...yet. I tried using index/match and sum....but no luck.

    A_________B___________C______D

    Apple___RESULT=5______Plum 2
    Grape___RESULT=8______Grape 3
    Plum____RESULT=2______Apple 4
    ______________________Apple 1
    ______________________Grape 5

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Tim: I have read your post, but don't understand what you are trying to accomplish. Please give more details. Be as specific as possible, what is your data and what is your desired result?

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    10-30-2003
    Posts
    49
    Sorry. Col B contains a Set criteria, Col C will have the result of finding (in Col D) all the Set criteria and summing the total in Col E that corresponds to the 'match' in Col D.


    A1______B1______C1______D1______E1
    A2______Apple____17______Plum____5
    A3______Orange___6______Apple____4
    A4______Grape____16_____Apple____9
    A5______Plum_____8______Grape___2
    ________________________Orange__6
    ________________________Apple____4
    ________________________Plum_____1
    ________________________Plum_____2
    ________________________Grape____4
    ________________________Grape____6
    ________________________Grape____4
    Last edited by TimE; 04-01-2005 at 12:51 PM.

  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    OK, now we're getting somewhere. Use SUMIF to meet your needs.

    In C1 enter this formula and copy down as needed. Of course adjust ranges to meet your needs.

    =SUMIF($D$1:$D$11,B1,$E$1:$E$11)

    this formula looks in D for the value in B and sums from all matching rows in E

    Note the $ to fix the range for the lookup table. You could also names this ranges to simplify formula creation. e.g. the range in D could be named ITEMS and the range in E could be named VALUES

    then: =SUMIF(ITEMS,B1,VALUES) does the same thing.

    HTH

    Bruce

  5. #5
    Registered User
    Join Date
    10-30-2003
    Posts
    49
    Thank you for your fast response. That was exactly what I needed.

+ 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