+ Reply to Thread
Results 1 to 3 of 3

Index and Small Formulas returning #N/A

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    Cambridge
    MS-Off Ver
    Office 365
    Posts
    4

    Post Index and Small Formulas returning #N/A

    Hi,

    I'm having trouble using the INDEX formula in this worksheet: Vials_Index.xlsx

    Basically I want to return the corresponding supplier batch and location for each instance of a certain catalogue number. As there is likely to be more than one instance of each catalogue number on the spreadsheet, I know I can't use a VLOOKUP, so I googled and followed the instructions for setting up an INDEX formula instead. I got this to work perfectly on a simple dummy run (sheet 2), but when I tried it out on the main sheet, all I got was an #N/A value.

    I can't work out why this is and I'm not really familiar with INDEX or SMALL at all, and frankly my brain hurts now Can anyone shed some light on this please??
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Index and Small Formulas returning #N/A

    Hi - I think there are a couple of problems:
    -I'm not sure you can use entire column references (and even if you can, it is better not to, it will save on computational time)
    -If your dataset has errors in, this will cause it to trip up.

    Try something like:
    =SMALL(IF(ISERROR(D$3:D$5000),100000,IF(D$3:D$5000=D3,ROW(D$3:D$5000),100000)),ROW(1:1))

  3. #3
    Registered User
    Join Date
    02-06-2014
    Location
    Cambridge
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Index and Small Formulas returning #N/A

    Thanks for the advice - I removed all the #N/A values on the worksheet that represented empty spaces, and this solved the problem
    I'll maybe use a range instead of a whole column reference as well.

    Thanks again

+ 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] Lack of understanding Index and match, and small formulas
    By lreed in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-10-2014, 11:37 AM
  2. Array/Index/Match/small formulas- creating a quick search
    By lreed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-25-2014, 06:06 PM
  3. Small IF(AND) formula returning false
    By astole in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2013, 02:22 AM
  4. Returning next highest value from =small(if.....)
    By MARKSTRO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2012, 05:12 PM
  5. returning a unique kth small({},k) value?
    By y_t in forum Excel General
    Replies: 1
    Last Post: 05-23-2012, 09:09 AM

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