+ Reply to Thread
Results 1 to 3 of 3

Index Formula support

  1. #1
    Registered User
    Join Date
    07-12-2015
    Location
    Newcastle England
    MS-Off Ver
    2010
    Posts
    29

    Index Formula support

    Hello

    I am a school teacher and was wanting help with the following query. I prefer using formulas rather than macros. I have some knowledge of excel but not great.

    I have 3 columns column
    a - Level Achieved - Text
    b - Child name- Text
    C - This is where I need help - I want to this column to list all the children's names that = to a specific level - i.e. Emerging - I want it to list - Brian, Sally, Susan, Dave etc.

    From searching on the internet and various forums people have suggested this formula but can't seem to get it to work

    =IF(ISERROR(INDEX($A$2:$B$63,SMALL(IF($A$2:$A$63=$C$1,ROW($A$2:$A$63)),ROW(1:1)),2)),"",INDEX($A$2:$B$63,SMALL(IF($A$2:$A$63=$C$1,ROW($A$2:$A$63)),ROW(1:1)),2))

    As it does not display the correct children's names. I have highlighted the names it should highlight but the list created in column C is different.

    Please help!

    Much appreciated

    Mark
    Attached Files Attached Files

  2. #2
    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
    52,938

    Re: Index Formula support

    Hi, welcome to the forum

    You were almost there I have made a few small adjustments, but you pretty much had it. That is an ARRAY formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    =IFERROR(INDEX($B$2:$B$63,SMALL(IF($A$2:$A$63=C$1,ROW($A$2:$A$63)-1),ROWS($A$1:A1))),"")
    copied down and across
    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

  3. #3
    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 support

    Here's another way...

    This array formula** entered in C2:

    =IFERROR(INDEX($B:$B,SMALL(IF($A$2:$A$61=C$1,ROW(A$2:A$61)),ROWS(C$2:C2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy across to E2 then down until you get a row full of blanks.
    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)

Similar Threads

  1. Class does not support Automation or does not support expected interface
    By ccs_1981 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2015, 05:57 AM
  2. runtime 430 error- Class does not support Automation or does not support...
    By kimcole5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2012, 01:27 PM
  3. Excel 2007 formula support
    By rpasha0169 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-29-2011, 03:35 PM
  4. formula support needed
    By Johnny D in forum Excel General
    Replies: 2
    Last Post: 11-11-2005, 08:50 PM
  5. Replies: 3
    Last Post: 09-08-2005, 12:53 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