+ Reply to Thread
Results 1 to 4 of 4

Index Formula

  1. #1
    Registered User
    Join Date
    03-03-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    1

    Index Formula

    Hi-

    I have two columns of data and I would like the formula displayed below to return all names in my first column that have the same values in the second column matching cell E1. My array ranges from from rows A1 to B199. However, the formula only calculates to A118. Even if I change the formula to go through A199.


    =IFERROR(INDEX($A$1:$A$118, SMALL(IF($B$1:$B$118=E$1, ROW($A$1:$A$118), ""), ROWS($A$1:$A1))), "")
    Last edited by marie65; 03-03-2016 at 04:50 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Help!

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Index Formula

    zbor,

    Unless things have changed recently, I don't think marie65 CAN change the actual Title - from memory, it has to be done by someone "further up the food chain" than users?

    Ochimus

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Formula

    Just extend the ranges in the formula...

    =IFERROR(INDEX($A:$A,SMALL(IF($B$1:$B$199=E$1,ROW(B$1:B$199)),ROWS(A$1:A1))),"")

    Still array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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