+ Reply to Thread
Results 1 to 2 of 2

Selection of Data in an Array Based on Specific Criteria

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    4

    Selection of Data in an Array Based on Specific Criteria

    I have one set of data that exists in sheet 1 with multiple levels of filterable criteria. I want to be able to break out the information onto seperate sheets based on specific criteria.

    For example:

    If sheet 1 has the following:

    1 OS A 200.01
    1 CO A 300.01
    2 OS A 400.01
    2 CO A 500.01
    3 OS A 600.01
    3 CO A 700.01

    I want to select all numerical codes based on the criteria of 1 and OS.

    Any help would be greatly appreciated.

  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,732

    Re: Selection of Data in an Array Based on Specific Criteria

    You could put a formula like this in the first sheet (in E2, assuming you have a header row):

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    When you copy this down you will get a simple sequence against records which match the criteria and blanks otherwise.

    In the second sheet you can have this formula in A2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    which will find the rows that have been marked in the first sheet, then this formula in B2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This formula can be copied across to E2, then the formulae in A2:E2 can be copied down as far as you need them (until you see a hyphen in column A).

    To set up different criteria, you just need to change the formula in Sheet1.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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