+ Reply to Thread
Results 1 to 7 of 7

Index Match Question

  1. #1
    Registered User
    Join Date
    05-08-2017
    Location
    Wheeling, IL
    MS-Off Ver
    2010
    Posts
    3

    Index Match Question

    Looking for some help with an Index-Match formula. What I have are peoples names and data in one sheet based on a month. I am looking to put that data together with other months on a different spreadsheet. The formula I have been using works for the first half or so of the worksheet, but then just stops working for the rest of the names.

    Here is the formula I am using:
    =INDEX('May ''17'!AG$4:AG$48,MATCH('Spring ''17'!A19,'May ''17'!A$4:A$48))

    The names are a little different from month to month, so I can't just set the cell equal to the cell I am looking for and copying and pasting. The first 25 rows work, but the rest just returns a value of 0.

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Index Match Question

    Hi -

    It is really difficult to diagnose your problem without a sample of your spreadsheet to work with (not a screen shot or image). Please upload a sample of your spreadsheet with any sensitive information removed. To upload a file, at the bottom right corner of the reply window is a button that says Go Advanced. Push it and then scroll down the screen that appears until you find a hyper link that says Manage Attachments. Press that and use the Browse and Upload buttons to attach your file.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Index Match Question

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED, scroll down and click Manage Attachments.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    05-08-2017
    Location
    Wheeling, IL
    MS-Off Ver
    2010
    Posts
    3

    Re: Index Match Question

    Here is a simplified example of my spreadsheet. When I did this, it is now giving incorrect information, whereas in my sheet, it is correct until "David", then it just gives 0.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Index Match Question

    Hi -

    I just looked at your spreadsheet. A couple things:

    1. Your INDEX/MATCH formula does not need to be an Array formula (with the squiggly braces {} ). Just hit enter normally when finished editing the formula.

    2. You're errors are most likely generated because you did not specify and Exact Match in your MATCH function. So just add a 0 to the end of your MATCH function so the formula looks like this:

    =INDEX('May ''17'!AD$4:AD$48, MATCH('Total ''17'!A3, 'May ''17'!A$4:A$48,0))

    Copy and paste this into Cell E3 of your spreadsheet and see if it works.

    Hope this helps!

  6. #6
    Registered User
    Join Date
    05-08-2017
    Location
    Wheeling, IL
    MS-Off Ver
    2010
    Posts
    3

    Re: Index Match Question

    Thank you, that seemed to do it.

    Just out of curiosity, when does it need to be an array formula?

  7. #7
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Index Match Question

    INDEX and MATCH already work with arrays (a range of cells) as their normal arguments. You use Array Formulas when you are working with functions that normally accept one variable (one cell or number) as an argument. A very common one is the IF statement. Normally you would say IF(A1=5,"Yes","No"). So the single argument is the cell A1 and if it equals 5, the formula would return "Yes". But let's say you want to check a range of cells to see if it contains the number 5. So you could rewrite the formula as IF(A1:A10=5,"Yes","No"). In this case, since the original IF function does not normally accept an array (A1:A10) as an argument, you have to press Ctrl-Shift-Enter at the same time to engage the Array Formula functionality of Excel, and Excel will add the little curly braces {}. Then, if any of the cells in A1:A10 contains 5 the formula will return "Yes".

    Make sense? There's lots of online help for Array Formulas.

+ 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] Quick INDEX MATCH MATCH OFFSET question
    By franb123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2017, 02:56 AM
  2. INDEX-MATCH Help/Question
    By jlane1994 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-24-2016, 03:37 AM
  3. index,match question
    By bugdout in forum Excel Formulas & Functions
    Replies: 52
    Last Post: 06-13-2016, 06:38 PM
  4. Index, match, match Question!. Seems so simple but can't figure it out...
    By huikimhuikim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2013, 01:57 PM
  5. [SOLVED] Index Match Question
    By rival2031 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2013, 03:14 PM
  6. [SOLVED] INDEX and MATCH question
    By Kabish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2012, 02:45 PM
  7. Match or Index Question
    By carl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2005, 05:05 PM

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