+ Reply to Thread
Results 1 to 10 of 10

Index Match Query

  1. #1
    Registered User
    Join Date
    06-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Question Index Match Query

    Any way that I could remove the #N/A with the below statement?

    =INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F60,'FIN PLAN'!$C$4:$C$99,FALSE))/Maintenance!P56

    ABC 256,077
    #N/A

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Index Match Query

    Change it to this:

    =IFERROR(INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F60,'FIN PLAN'!$C$4:$C$99,FALSE))/Maintenance!P56,"")

    Hope this helps.

    Pete

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Index Match Query

    That for all Excel version:

    =IF(ISNA(MATCH('ASM Setting'!F60,'fin plan'!$C$4:$C$99,FALSE)),"",INDEX('fin plan'!$J$4:$J$99,MATCH('ASM Setting'!F60,'fin plan'!$C$4:$C$99,FALSE))/Maintenance!P56)

  4. #4
    Registered User
    Join Date
    06-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match Query

    hi guys... thanks a lot... it's very useful...

  5. #5
    Registered User
    Join Date
    06-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match Query

    Hi Guys,

    sorry, if I would like to add another requirement like if Cell A has ZERO value, and it will jump to Cell B to capture the values

    =IF(ISNA(MATCH('ASM Setting'!F6,'FIN PLAN'!$C$4:$C$99,FALSE)),"",INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F6,'FIN PLAN'!$C$4:$C$99,FALSE))/Maintenance!P2)

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Index Match Query

    Do you mean like this?

    =IF(A6=0,B6,IF(ISNA(MATCH('ASM Setting'!F6,'FIN PLAN'!$C$4:$C$99,FALSE)),"",INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F6,'FIN PLAN'!$C$4:$C$99,FALSE))/Maintenance!P2))

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    06-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match Query

    Hi Pete,

    Thanks a lot for your help.

    If I would like to use index and match with 2 criteria would that work? How do I go about that?

  8. #8
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Index Match Query

    Try:
    =IF(A6=0,B6,IF(ISNA(INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F6&'ASM Setting'!G6,'FIN PLAN'!$C$4:$C$99&'FIN PLAN'!$D$4:$D$99,FALSE))),"",INDEX('FIN PLAN'!$J$4:$J$99,MATCH('ASM Setting'!F6&'ASM Setting'!G6,'FIN PLAN'!$C$4:$C$99&'FIN PLAN'!$D$4:$D$99,FALSE))/Maintenance!P2))

  9. #9
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Index Match Query

    Just to add.confirm this formula with CONTROL+SHIFT+ENTER not just ENTER

  10. #10
    Registered User
    Join Date
    06-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match Query

    =IF(ISNA(MATCH('ASM Setting'!$C7&'ASM Setting'!$E7,Maintenance!$AE$2:$AE$55&Maintenance!$AG$2:$AG$55,FALSE)),0,INDEX(Maintenance!$AJ$2:$AJ$55,MATCH('ASM Setting'!$C7&'ASM Setting'!$E7,Maintenance!$AE$2:$AE$55&Maintenance!$AG$2:$AG$55,FALSE)))

    anyway that I could get the statement above show if #N/A will only empty cell...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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