+ Reply to Thread
Results 1 to 12 of 12

Array formula failing

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Array formula failing

    I'm trying to use a simple array formula to return multiple row matching one criteria but failing miserably.

    I have attached a sample- any assistance is much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Array formula failing

    so, what are you trying to do exactly? what is failing?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Array formula failing

    Cell V59 is the start of the data table I am trying to populate. I want to extract all rows that match the date in V57 and populate the table.

  4. #4
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Array formula failing

    This time with the right file attached...
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Array formula failing

    In C23

    =IFERROR(INDEX($C$8:$G$20,SMALL(IF($B$8:$B$20=$B$23,ROW($A$8:$A$20)-ROW($A$8)+1,""),ROWS($A$8:A8)),COLUMNS($B:B)),"")

    Enter with Ctrl+Shift+Enter

    Copy across and down

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Array formula failing

    Or try a array formula (CSE)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Array formula failing

    I see where I was going wrong. Thanks very much

  8. #8
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Array formula failing

    Try this:

    {=INDEX($C$25:$G$35,SMALL(IF($A$25:$A$35=$V$57,ROW($A$25:$A$35)-MIN(ROW($A$25:$A$35))+1,""),ROW(V59)-ROW(V$58)),COUNTA(V$58:$V$58))}

  9. #9
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Array formula failing

    Getting all excited now about array formula...but failing somewhere when I try to introduce multiple criteria. Any help with the attached is much appreciated.
    Attached Files Attached Files

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Array formula failing

    For the multiple criteria try array-entering this modified of your formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  11. #11
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Array formula failing

    Thanks, Dave. Using your example I think I've got it now!

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Array formula failing

    Good to hear. Thanks for the feedback.

+ 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] Formula failing only when nested
    By mwatson2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-31-2015, 05:59 PM
  2. [SOLVED] Array formula failing to return a blank when it should
    By sipa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-20-2015, 11:04 AM
  3. Vlookup and sumif formula is failing
    By sipa in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-28-2014, 08:15 AM
  4. Trying to update formula in cell is failing
    By michaeltwc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2014, 04:13 PM
  5. Formula Help - Text reference failing
    By lanny75 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-07-2014, 06:54 PM
  6. Vlookup failing when value is a formula
    By Opy in forum Excel General
    Replies: 3
    Last Post: 08-31-2011, 09:53 PM
  7. Excel email macro failing on sheet array
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2011, 04:55 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