+ Reply to Thread
Results 1 to 2 of 2

Using MATCH and INDEX

  1. #1
    Registered User
    Join Date
    04-18-2014
    Location
    Miami Gardens, Florida
    MS-Off Ver
    Excel 2010
    Posts
    1

    Using MATCH and INDEX

    I just want my table to select values from a droplist located in O14

    I have defined a name called months. It includes jan, feb, ... dec and from there I created the droplist.

    I also defined names for the 12 months (one for January, one for feb...) which includes the value I want to show in my main page. Each one has its column.

    I am trying to combine values from two different MATCH functions.

    Here is the working syntax

    =IF(ISTEXT(D18),INDEX(February,MATCH(D18,NAME,0)),"")
    =IF(ISTEXT(D18),INDEX(March,MATCH(D18,NAME,0)),"")
    =IF(ISTEXT(D18),INDEX(April,MATCH(D18,NAME,0)),"")

    and so on...

    however I am receiving a #ref error when I type this

    =IF(ISTEXT(D18),INDEX(MATCH(O14,Month,0),MATCH(D18,NAME,0)),"")

    I just want my table to select values from a droplist located in O14

    Any ideas?

    Thanks a lot

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using MATCH and INDEX

    Looks like you need to include a range for the INDEX function.

    The syntax should be:

    INDEX(range,row number,column number)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. [SOLVED] Index Match from a cell populated from index match
    By MarcLewis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2013, 05:30 AM
  3. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  4. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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