+ Reply to Thread
Results 1 to 4 of 4

Display numerous results based on three criteria

  1. #1
    Registered User
    Join Date
    11-01-2013
    Location
    Worthing, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Display numerous results based on three criteria

    I am trying to display certain account numbers based on three different criteria. Below is a small version of what I need to look up against: -

    Acc Status Can RD Initiated
    1234 Live Yes
    5678 Dead Yes 15/10/2013
    4567 Dead Yes
    9874 Dead No
    4521 Live No
    1457 Live No
    4572 Live Yes 22/10/2013
    6937 Live Yes 22/10/2013
    8472 Live Yes
    2365 Dead No

    I need it to show me the accounts (acc) where status="Live", Can RD = "Yes" and initiated = "". I know how to count them up using sumproduct, but I'm stuck when it comes to extracting the data! On this list I'd need a table that would show me acc 1234 & 8472.

    Can anyone help?

    Adam

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Display numerous results based on three criteria

    Highlight your row containing the field names (column headings). Click on Data, Filter. Select the criteria in each of the columns you wish to filter on. If you need to, you can cut and paste the filtered data to a new sheet.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-01-2013
    Location
    Worthing, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Display numerous results based on three criteria

    Thanks Alan

    This is what I currently do. Ideally I'd like a formula that can do it for me.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Display numerous results based on three criteria

    Ok Adam.

    Try this VBA solution:

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

+ 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. How do I make specific calculations based on numerous criteria?
    By Harmse in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 06:29 AM
  2. Search against a range of criteria and display whole rows as results
    By ahber in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2013, 08:55 AM
  3. Display Results in a new worksheet based on Criteria Data
    By moliveiramrw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-08-2013, 10:20 AM
  4. Display Top 20 results based on certain criteria
    By ash_farooq in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-11-2012, 02:54 AM
  5. Replies: 1
    Last Post: 03-20-2009, 08:05 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