+ Reply to Thread
Results 1 to 3 of 3

Sum Multiple Entries Through Index and Match

  1. #1
    Registered User
    Join Date
    06-01-2014
    Posts
    79

    Sum Multiple Entries Through Index and Match

    I'm having trouble with a formula that is trying to add multiple matches that relate to a certain cell.

    I have a database that keeps track of miles traveled in each state as well as gallons of fuel used. I want to sort each entry by state and sum up the miles.

    The formula I have is a sumif but when I change the state name the formula gives me a reference error

    =SUMIF(Database!$D$2:$D$5000,I5,INDEX(Database!$E$2,MATCH(I5,Database!$D$2:$D$5000,0)))

    Q4 Mileage Entry Form.xls

    I have attached the file I have been working on. The formula is in K5.

    Any help is greatly appreciated

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Sum Multiple Entries Through Index and Match

    if the SUMIFS function is available to you, this could work, if I understand what you are trying to do....

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    A pivot table will also work here...
    Last edited by judgeh59; 11-20-2014 at 10:41 AM.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    07-03-2013
    Location
    Montreal, QC
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Sum Multiple Entries Through Index and Match

    Try this formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. [SOLVED] Index and Match duplicate entries
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2013, 07:04 AM
  2. Index, Match, and Vlookup across multiple worksheets using multiple entries
    By sajanpatel15 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2013, 08:33 PM
  3. Returning multiple entries with INDEX and MATCH
    By jessea in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-04-2011, 02:50 PM
  4. Match/Index with multiple entries
    By Jsaper in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2010, 04:34 AM
  5. index match with blank entries
    By andrewm in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-06-2005, 12:05 PM

Tags for this Thread

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