+ Reply to Thread
Results 1 to 8 of 8

Array Formula Not Working

  1. #1
    Registered User
    Join Date
    11-23-2018
    Location
    Pretoria
    MS-Off Ver
    2016
    Posts
    6

    Array Formula Not Working

    I am trying to extract rows of data from an Excel worksheet to another worksheet based upon two search criteria (a matching code and date). I have created the following array formula:

    {=INDEX('Lost Opps'!$A$2:$P$694,SMALL(IF((INDEX('Lost Opps'!$A$2:$P$694,,1)='Control Sheet'!$H$26)*(INDEX('Lost Opps'!$A$2:$P$694,,16)='Control Sheet'!$D$4),MATCH(ROW('Lost Opps'!$A$2:$A$694),ROW('Lost Opps'!$A$2:$A$694)),""),ROWS($A$2:A2)),COLUMNS($A$2:A2))}

    When I copy the formula down, I get the same data on each row in the target worksheet. I have noticed that the non anchored references in ROWS(A$2:A2) and COLUMNS($A$2:A2) do not change.

    Any help would be gratefully received.

    Many thanks,

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Array Formula Not Working

    Check that your Caluclation Options (on the Formulas tab) are set to Automatic, rather than Manual.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-23-2018
    Location
    Pretoria
    MS-Off Ver
    2016
    Posts
    6

    Re: Array Formula Not Working

    They are set to automatic so I guess this isn't the problen. Thanks,

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Array Formula Not Working

    Your cells are probably set as text? Reformat as General, hit F2 and Enter

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Array Formula Not Working

    Pl upload a sample file.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Registered User
    Join Date
    11-23-2018
    Location
    Pretoria
    MS-Off Ver
    2016
    Posts
    6

    Re: Array Formula Not Working

    It's now working. many thanks for the help received!

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Array Formula Not Working

    Care to share your solution with the board?

  8. #8
    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,939

    Re: Array Formula Not Working

    Warren, welcome to the forum

    For future reference, please take a moment to read the forum rules and use thread titles that are descriptive of your problem - not what you think the answer might be. (think google search terms?).

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?
    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] Array Formula not working
    By Enroll in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-04-2018, 07:53 AM
  2. [SOLVED] Please help Array formula not working
    By lreed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2017, 06:44 PM
  3. Array formula is now not working
    By sipa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2016, 10:23 AM
  4. [SOLVED] Array Formula Not Working....
    By sagar007 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-09-2012, 01:16 AM
  5. Array formula not working
    By Theodjinn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2008, 04:09 AM
  6. Array formula not working
    By bj in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04: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