Consulting

Results 1 to 4 of 4

Thread: Solved: Index / Match NA

  1. #1

    Solved: Index / Match NA

    Hey all,

    Having trouble with an index match...returning N/A sometimes but not others...

    Im trying to pull the min value from column K in the dont work example Just the first min value...
    depending on the data it works ok some times..but not others. I also have and example when it works.

    see attached...any ideas?

    thanks much

  2. #2

  3. #3
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    You need to move a closing parenthesis in the one that doesn't work:
    =INDEX(E4:E21,MATCH(INDEX(K4:K21,MATCH(MIN(K4:K21),K4:K21),0),K4:K21,0))
    to:
    =INDEX(E4:E21,MATCH(INDEX(K4:K21,MATCH(MIN(K4:K21),K4:K21,0)),K4:K21,0))

    but it seems convoluted; doesn't:
    =INDEX(E4:E21,MATCH(MIN(K4:K21),K4:K21,0))
    give the same result?
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  4. #4
    Bah! Thanks..yes...my thinking was a bit twisted

    this works just fine

    =INDEX(E4:E21,MATCH(MIN(K4:K21),K4:K21,0))
    thanks much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •