+ Reply to Thread
Results 1 to 2 of 2

extract data using 2 criteria

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    U.S.
    Posts
    1

    extract data using 2 criteria

    Hey, i have a sample spreadsheet attached of what I am trying to do. I'll have a large table in columns A to D. It's defined as a table because i want it to be dynamic in that as I append more data to the end, I want the table to grow in size. I'm trying to extract subsets from that table into columns F to I by letting a user specify a specific entry in Column A and B (dropdown). I would like to do it 5 different times in total in different columns as the spreadsheet shows. I ultimately want to create a XY chart and plot these as 5 different series in a single plot. I haven't gotten to the chart part yet because the extract data is not working right for me. I'm using the AGGREGATE function and INDEX. In order for it to populate all 5 series they need to identify the same 2 criteria. I dont want that. The 5 extracts will always be different is some way. When they are different, nothing gets extracted for the 2nd to 5th series for some reason.

    What's wrong with my spreadsheet, specifically the long AGGREGATE function I'm using.

    Thanks
    Rob
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: extract data using 2 criteria

    Check your COUNT formulas in row 2.
    The first one refer to column A and B but with relative address.
    When you copied it to create the other table, the columns changed to F and G and so on.
    Make sure the columns A and B are reference properly in your count formulas and it should work just fine.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

+ 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. Extract Data with multiple criteria
    By miqureshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2017, 02:17 AM
  2. Replies: 8
    Last Post: 05-08-2016, 12:48 AM
  3. Replies: 0
    Last Post: 05-02-2016, 07:59 AM
  4. [SOLVED] Extract data with one criteria and no duplicate
    By omegaboost in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2016, 11:56 PM
  5. Replies: 3
    Last Post: 12-18-2014, 10:27 AM
  6. Extract data with 2 criteria
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-15-2012, 06:48 PM
  7. [SOLVED] Extract data based on 1 criteria
    By TexasRhode in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2012, 06:08 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