+ Reply to Thread
Results 1 to 4 of 4

Using an array with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    01-21-2012
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    106

    Using an array with multiple criteria

    Hey everyone, The array below works very quickly. But what I would like to do is add 3 criteria to it so that it only copies what the criteria specifies. What would I need to do to make this possible?

    Criteria 1 = Category
    Criteria 2 = StartingDate
    Criteria 3 = EndingDate

    Please Login or Register  to view this content.
    Last edited by anthony1312002; 03-13-2020 at 08:38 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Using an array with multiple criteria

    The attached is one method I have used in the past.
    I needed to test capacity/speed in anticipation of app after 5 years use.
    It basically sorts invoicing from a transaction history, based on start date > end date > account name.
    To test seed the array with multiples of the existing data (say 10,000 or 100,000 rows).
    The basics of the code are the rows that do not satisfy the parameters are filled with blanks then the blank rows removed.
    The workhorse of the code is between the two long rows of asterisks.
    If you upload a desensitised example of your workbook I can then apply the code to demonstrate.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    01-21-2012
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Using an array with multiple criteria

    Thank you so much! I'm going to make a go of this.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Quote Originally Posted by anthony1312002 View Post
    […] so that it only copies what the criteria specifies.
    Hi,

    obviously just use filters or better an advanced filter …

+ 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] SUM Unorganized Array based on Multiple Criteria & Multiple Headers
    By Glisten in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2019, 12:56 PM
  2. [SOLVED] Array with Multiple criteria
    By atlant15 in forum Excel General
    Replies: 2
    Last Post: 01-11-2018, 10:40 AM
  3. Countifs on an Array Range using multiple criteria in an Array
    By Mysore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2016, 04:39 PM
  4. [SOLVED] INDEX Array Formula with multiple criteria in multiple columns, is it possible?
    By jparve3283 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-11-2016, 05:51 PM
  5. Multiple Criteria search and COUNT FOR TEXT across multiple sheet ARRAY's
    By akaushik25 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2014, 08:58 AM
  6. Searching for multiple criteria in array
    By Puzzel in forum Excel General
    Replies: 11
    Last Post: 11-01-2009, 04:47 PM
  7. Multiple Criteria Array ?
    By Holtster in forum Excel General
    Replies: 2
    Last Post: 09-07-2007, 04:59 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