+ Reply to Thread
Results 1 to 13 of 13

INDEX SMALL problem

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: INDEX SMALL problem

    Hi XOR LX and thanks for your input.

    I'm using INDIRECT as the workbook containing this formula is a template that then has another sheet (Surveys) moved in from a different workbook. I'm hard-coding rather than putting the source in a seperate cell just for tidiness.

    Okay, that makes sense what you're saying about the two ranges needing to be the same dimension. It will have worked for Column L as all of the non-blank cells will invariably be toward the top, whereas column P has the same data scattered throughout.

    As I said, I'm just not sure on how the SMALL function works to be able to interpret what the overall formula is trying to do.

    When trying your revised formula, it's returning the first non-blank cell throughout the whole range of D3:D203. Progress though - Any idea what is causing that?

    Many thanks,

    Jason

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: INDEX SMALL problem

    Quote Originally Posted by jwillis07 View Post
    When trying your revised formula, it's returning the first non-blank cell throughout the whole range of D3:D203. Progress though - Any idea what is causing that?
    I assume you are trying to array enter that single formula in the whole range. XOR LX's suggested formula would go in D3, array entered and copied down.

    If you want to put it in as a single formula try this version:

    =IFERROR(INDEX(INDIRECT("Surveys!P6586:P7345"),SMALL(IF(INDIRECT("Surveys!P6586:P7345")<>"",ROW(INDIRECT("Surveys!P6586:P7345"))-ROW(INDIRECT("Surveys!P6586"))+1,""),ROW(INDIRECT("Surveys!P6586:P7345"))-ROW(INDIRECT("Surveys!P6586"))+1)),"")
    Audere est facere

+ 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. Problem with INDEX/SMALL in formula
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2015, 01:52 PM
  2. Replies: 7
    Last Post: 10-10-2014, 05:40 PM
  3. [SOLVED] Problem with function INDEX, SMALL AND IF
    By dejussy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-08-2014, 10:36 PM
  4. Replies: 6
    Last Post: 10-22-2013, 01:48 PM
  5. Problem with Index and Small functions to lookup and display multiple cells
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-22-2013, 11:41 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