+ Reply to Thread
Results 1 to 4 of 4

Index Formula

  1. #1
    Registered User
    Join Date
    09-26-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    42

    Index Formula

    Hi Guys,

    I have the below formula

    =IF(ISERROR(INDEX(Sheet1!$B$11:$C$24,SMALL(IF(Sheet1!$B$11:$C$24=TRUE,ROW(Sheet1!$B$11:$B$24)),ROW(1:1)),2)),"",INDEX(Sheet1!$B$11:$C$24,SMALL(IF(Sheet1!$B$11:$C$24=TRUE,ROW(Sheet1!$B$11:$B$24)),ROW(1:1)),2))


    Although is not work. If i change the B11 to B1 it will work correctly, although my data starts in cell B11. Don't know if I have to change the rows or column. I have tried it multiple times unable to get it to work.

    Please refer to spreadsheet.

    Any help is greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,540

    Re: Index Formula

    Please provide a version of your workbook with expected outcomes mocked up where you want to see them.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Index Formula

    Hi,

    Perhaps you mean something like this
    =IFERROR(INDEX(Sheet1!$B$11:$C$24,SMALL(IF(Sheet1!$B$11:$C$24=TRUE,ROW(Sheet1!$B$11:$B$24)-ROW($B$11)+1),ROWS($A$1:$A1)),2),"")
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  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
    53,048

    Re: Index Formula

    Perhaps this?
    =IFERROR(INDEX(Sheet1!$C:$C,SMALL(IF(Sheet1!$B$6:$B$8=TRUE,ROW(Sheet1!$B$6:$B$8)),ROWS($A$1:A1))),"")
    ARRAY entered

    You dont need $B$11:$C$24 in the index, you are only returning data from column C
    You dont need $B$11:$C$24 to test for TRUE, you only need to look in B
    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

+ 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] New to INDEX...INDEX FORMULA NOT WORKING
    By 34_CHEVY in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-31-2016, 02:10 PM
  2. [SOLVED] This formula works but I donīt understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  3. Index Match Formula, can index be fixed?
    By herschen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2015, 08:28 PM
  4. [SOLVED] IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)
    By GC1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-05-2013, 08:11 AM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Replies: 2
    Last Post: 11-21-2012, 12:02 PM
  7. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM

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