+ Reply to Thread
Results 1 to 5 of 5

Index match to sum multiple match columns

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    new york
    MS-Off Ver
    Office Enterprise 2007, Office Professional Plus 2010, Office Professional Plus 2013
    Posts
    35

    Question Index match to sum multiple match columns

    Hi I am trying to do a 2 WAY INDEX/MATCH FORMULA and return multiple matched columns and sum them up.

    The following code works. I was wondering if there is a better way to do it? Also if I decide to Add SalesMonth3, Can it automatically adjust the area to sum up?

    Please Login or Register  to view this content.

    I'm using the following named ranges:
    STYLE =REPORT!$F$6:INDEX(REPORT!$F:$F,COUNTA(REPORT!$F:$F)+5)
    SALES =REPORT!$4:$4
    SalesMonth1 =InfoSheet!$A$12 (FEB)
    SalesMonth2 =InfoSheet!$A$13 (MAR)

    I included a sample book.

    Thank You!
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Index match to sum multiple match columns

    Define name manager salesmonth3.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Index match to sum multiple match columns

    May be try

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


    Copy down.!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    06-26-2012
    Location
    new york
    MS-Off Ver
    Office Enterprise 2007, Office Professional Plus 2010, Office Professional Plus 2013
    Posts
    35

    Re: Index match to sum multiple match columns

    Quote Originally Posted by avk View Post
    Define name manager salesmonth3.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That is not the point. I know I need to define it. I was wondering If I can have the formula append
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    only if the SalesMonth3 is not null.
    I can put a IF Statement, however that would just affect performance. This is just a sample data. Actual book has 12 sheets, with about 500 styles, Each style needs to have 7 data points looked up. Simple index/matching.
    Also I was wondering if there is a shorter way to get the same results.

    Quote Originally Posted by shukla.ankur281190 View Post
    May be try

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


    Copy down.!
    That is an Idea. I didn't think about using SUMPRODUCT.
    Is it possible to have the last part (REPORT!$S$4:$X$4=InfoSheet!$A$12)+(REPORT!$S$4:$X$4=InfoSheet!$A$13) be combined in a dynamic range. So that I can add SalesMonth3 in =InfoSheet!$A$14 and it would add it to the formula?
    How is performance on a huge data set?

    Thanks!

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index match to sum multiple match columns

    Change your ALL Text dates to Excel dates so JAN is 01/01/2018, Feb is 02/01/2018 (US dates)

    then use

    Please Login or Register  to view this content.
    so you can now easily select start/end dates

    See "Sheet1" column C
    Attached Files Attached Files
    Last edited by JohnTopley; 04-20-2018 at 02:22 PM.

+ 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. Match/Index Multiple Columns
    By fredlo2010 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-15-2018, 03:43 AM
  2. INDEX MATCH MATCH multiple columns with same heading
    By djm198 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-11-2016, 02:34 PM
  3. [SOLVED] Index Match across multiple Columns
    By whiZZfiZZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2016, 01:05 PM
  4. [SOLVED] Index Match to Sum Multiple Columns
    By phelbin in forum Excel General
    Replies: 5
    Last Post: 09-02-2015, 07:40 PM
  5. [SOLVED] index match multiple columns
    By mma3824 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-08-2013, 04:02 PM
  6. [SOLVED] Index / Match across multiple columns
    By Chad B in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2013, 11:52 AM
  7. Index Match Across Multiple Columns
    By FFastZB in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-20-2013, 04:58 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