+ Reply to Thread
Results 1 to 7 of 7

Help with Array Formula (With Attachment)

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    24

    Help with Array Formula (With Attachment)

    Hello,

    I have this array formula that looks is suppose to look in cell A12 and copy down all the potential results from B2:B8. The formula find the first results but gives me errors for the rest of the results. Would someone please take a look at this formula?

    {=IF(ISERROR(INDEX($A$1:$B$8,SMALL(IF($A$1:$A$8=$A$12,ROW($A$1:$A$8)),ROW($1:$1)),2)),"",INDEX($A$1:$B$8,SMALL(IF($A$1:$A$8=$A$12,ROW($A1:$A$8)),ROW($1:$1)),2))}
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Help with Array Formula (With Attachment)

    Hi,

    Your profile and attachment indicate that you can use:

    =IFERROR(INDEX($A$1:$B$8,SMALL(IF($A$1:$A$8=$A$12,ROW($A$1:$A$8)-MIN(ROW($A$1:$A$8))+1),ROWS($1:1)),2),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    06-26-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Help with Array Formula (With Attachment)

    Thanks XOR LX. Works now

  4. #4
    Registered User
    Join Date
    06-26-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Help with Array Formula (With Attachment)

    One last question. If my reference data is on a tab named Data would my formula look like this. Also where is the solved button

    =IFERROR(INDEX(Data!A2:B8,SMALL(IF($A$1:$A$8=$A$12,ROW($A$1:$A$8)-MIN(ROW($A$1:$A$8))+1),ROWS($1:1)),2),"")

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Help with Array Formula (With Attachment)

    Quote Originally Posted by tennisbuck View Post
    One last question. If my reference data is on a tab named Data would my formula look like this. Also where is the solved button

    =IFERROR(INDEX(Data!A2:B8,SMALL(IF($A$1:$A$8=$A$12,ROW($A$1:$A$8)-MIN(ROW($A$1:$A$8))+1),ROWS($1:1)),2),"")
    No. It needs to be an absolute reference (the dollar signs) to begin with. And you'd need to change more than just that range (and you appear to be starting in row 2 now):

    =IFERROR(INDEX(Data!$A$2:$B$8,SMALL(IF(Data!$A$2:$A$8=$A$12,ROW(Data!$A$2:$A$8)-MIN(ROW(Data!$A$2:$A$8))+1),ROWS($1:1)),2),"")

    Regards

  6. #6
    Registered User
    Join Date
    06-26-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Help with Array Formula (With Attachment)

    Thanks for all the help!

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Help with Array Formula (With Attachment)

    You're welcome!

+ 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] Multiple Criteria Isnumber Search Array (with Attachment Example)
    By sweetrevelation in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-13-2013, 05:45 AM
  2. Formula Required for the Attachment
    By shekar_genius in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2013, 01:48 AM
  3. Attachment manipulation based on string in attachment
    By fterveen in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2012, 08:40 AM
  4. confused formula......, see attachment
    By jianming in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2007, 08:56 AM
  5. [SOLVED] Tricky array formula issue - Using array formula on one cell, then autofilling down a range
    By aspenbordr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2005, 11:05 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