+ Reply to Thread
Results 1 to 10 of 10

If nested index match

  1. #1
    Registered User
    Join Date
    04-11-2015
    Location
    Atlanta, Ga
    MS-Off Ver
    2013
    Posts
    9

    If nested index match

    I had an issue earlier with getting the index match, Thank so much for helping me out FDubbins. it worked great. You said do the if function after everything works, I tried and I've gotten #Value? as the output.

    original formula: =INDEX('Student Data'!$B$8:$K$94,MATCH('Lesson Data'!$B3,'Student Data'!$A$8:$A$94,0),MATCH('Lesson Data'!F$2,'Student Data'!$B$7:$K$7,0))

    If function formula: =IF (INDEX('Student Data'!$B$8:$K$94,MATCH('Lesson Data'!$B3,'Student Data'!$A$8:$A$94,0),MATCH('Lesson Data'!F$2,'Student Data'!$B$7:$K$7,0)),"")

    NOT working, what am I doing wrong? I've played around adding and removing different things but no luck. I want the cell to remain blank and not with the value 0 in there.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: If nested index match

    I think you left out a little bit...

    ifERROR, not just IF
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-11-2015
    Location
    Atlanta, Ga
    MS-Off Ver
    2013
    Posts
    9

    Re: If nested index match

    That was what I had before I reread the instructions that say: In cell F3 add a Match function nested in an Index function to retrieve the skill levels of each student listed in column B. To prevent zeros from showing when skill level is not known, nest the Match and Index function in an IF function to leave the cell blank when the skill level is 0.

    I tried it with both IF and IFERROR, I'm missing something it's simple I know it but I can't figure it out!!!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: If nested index match

    OK, this is sounding like homework? We can help you to help yourself, but we cant do it for you.

    You have the basic formula now. What you need to do next is use an IF to test for a 0 return. If that test is TRUE, then the formula needs to return "", otherwise it uses the INDEX/MATCH

    IF syntax is...
    =IF(test, what-to-to-if-test-is-TRUE, what-to-to-if-test-is-FALSE)

  5. #5
    Registered User
    Join Date
    04-11-2015
    Location
    Atlanta, Ga
    MS-Off Ver
    2013
    Posts
    9

    Re: If nested index match

    Thanks. I appreciate it.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: If nested index match

    So, what did you end up with?

  7. #7
    Registered User
    Join Date
    04-11-2015
    Location
    Atlanta, Ga
    MS-Off Ver
    2013
    Posts
    9

    Re: If nested index match

    Thanks for asking. You've have been a great help!!!This is what I ended up with.{=IFERROR(INDEX('Student Data'!$B$8:$K$94,MATCH('Lesson Data'!$B3,'Student Data'!$A$8:$A$94,0),MATCH('Lesson Data'!F$2,'Student Data'!$B$7:$K$7,0)),"")}
    I thought it worked but... there is still a 0 showing up in the column, I've tried changing from exact match but that didn't work either. I'm ready to give up.

  8. #8
    Registered User
    Join Date
    04-11-2015
    Location
    Atlanta, Ga
    MS-Off Ver
    2013
    Posts
    9

    Re: If nested index match

    I just thought of something. Would it be possible to use just the IF and put the whole Index function as if it's true and put "" if false?

  9. #9
    Registered User
    Join Date
    06-29-2016
    Location
    Utah, USA
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: If nested index match

    Were you ever able to figure this out? I am currently working on figuring out how to do this and would love some help.

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If nested index match

    Testing for error, and testing for 0 are 2 different things. (0 is NOT an error)

    You'd have to do

    =IFERROR(IF(yourindexformula=0,"",yourindexformula),"")

+ 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] Nested Index Match
    By Knawl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2014, 07:39 AM
  2. [SOLVED] 3 Nested IF INDEX MATCH
    By JonesZoid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2014, 10:56 AM
  3. [SOLVED] Nested Lookup or Index,Match or ??
    By rwabennett in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2013, 10:42 AM
  4. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM
  5. Nested IF (index and match)
    By mikera in forum Excel General
    Replies: 2
    Last Post: 01-21-2010, 11:27 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