+ Reply to Thread
Results 1 to 10 of 10

Index & Match: Return Sum of Indexed Values if Match Repeats

  1. #1
    Registered User
    Join Date
    10-16-2019
    Location
    California
    MS-Off Ver
    Latest
    Posts
    15

    Index & Match: Return Sum of Indexed Values if Match Repeats

    Hi Guys:

    I hope you're all doing well. I'm looking for an index/match function which will add the index values when match finds repeated values. I've changed the names of the tenants I'm working with for this example. When there's a new lease, a new row is created in sheet 1. There was a new lease for Blockbuster in Q4 and I need the function to return 11,000 (below in bold) in sheet two, i.e., the sum of the old lease payments 2,000 and the new lease payments 9,000. Oh, and if you have to return some videotapes at Blockbuster, remember to be kind and please rewind!

    SHEET 1

    A B C D E F
    TENANT 09/19 10/19 11/19 12/19 TOTAL
    Sears 3,000 3,000 3,000 3,000 12,000
    Blockbuster 2,000 0 0 0 2,000
    Blockbuster 0 3,000 3,000 3,000 9,000
    Toys R Us 4,000 4,000 4,000 4,000 16,000

    SHEET 2

    A B
    TENANT TOTAL
    Sears 12,000
    Blockbuster 11,000
    Toys R Us 16,000
    Last edited by fbinaghi; 10-25-2019 at 12:01 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,375

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    Not sure you need an INDEX MATCH - SUMIF should suffice based on what you've shown us.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    Try: sumif(A:A,A3,F:F)
    Click the * to say thanks.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    Ali beat me to the simple answer. But you could use a Pivot Table for more interesting analyses.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    You can simply use SUMIF instead of Lookup operation.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: Too slow!
    Last edited by CK76; 10-25-2019 at 12:10 PM.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  6. #6
    Registered User
    Join Date
    10-16-2019
    Location
    California
    MS-Off Ver
    Latest
    Posts
    15

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    I don't understand. If I were in sheet 2, and I want to start by entering a function in B2 so I could drag the function down all the way, what would I need to enter? Would this function match the tenant listed in sheet 2 with the tenant listed in sheet 1 and return the total from sheet 1?

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,375

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    Use the formula in post #5 - enter it then drag copy it down. Just try it!

  8. #8
    Registered User
    Join Date
    10-16-2019
    Location
    California
    MS-Off Ver
    Latest
    Posts
    15

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    It works great! Thank you very much!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,375

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    We know it does! Glad to have helped.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: Index & Match: Return Sum of Indexed Values if Match Repeats

    You're welcome. Thanks for the rep.

+ 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. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. Replies: 1
    Last Post: 09-25-2016, 02:58 AM
  4. [SOLVED] Vlookup/index/match to return all values that match
    By Asil01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2014, 12:49 PM
  5. Replies: 2
    Last Post: 08-26-2014, 11:00 PM
  6. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  7. VLOOKUP/INDEX/MATCH to return all values that match
    By lijia00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 11:56 AM

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