+ Reply to Thread
Results 1 to 8 of 8

Extracting rows that fulfil a criteria

  1. #1
    Registered User
    Join Date
    09-15-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Extracting rows that fulfil a criteria

    Hi all

    I have a list of clients in C2 to C125 and projected revenue in G2 to G125

    I want to be able exract them in to separate lists by value; over 200k, 100-200k, 50-100k, 25-50k, 10-25k and 3-10k

    Ideally these lists would reside on a separate tab.

    I think I need an array, but I am not having much look being able to do it?!

    Thanks!
    Attached Files Attached Files
    Last edited by adamlamping; 09-30-2016 at 03:33 AM.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Extracting rows that fulfil a criteria

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    09-15-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Extracting rows that fulfil a criteria

    Quote Originally Posted by shukla.ankur281190 View Post
    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    done...thanks

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Extracting rows that fulfil a criteria

    Quote Originally Posted by adamlamping View Post
    done...thanks
    There is not mentioned expected result in attachment.

    Please explain with expected result.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Extracting rows that fulfil a criteria

    See if is this what you want

    In 'After' sheet use a helper column in column A from A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    where After!$A$1 is lower limit and After!$B$1 is the upper limit (or empty)
    In 'After' sheet in columns B:E from B4 to E4 use the following formula and copy down and right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file for clarification
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-15-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Extracting rows that fulfil a criteria

    Quote Originally Posted by José Augusto View Post
    See if is this what you want

    In 'After' sheet use a helper column in column A from A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    where After!$A$1 is lower limit and After!$B$1 is the upper limit (or empty)
    In 'After' sheet in columns B:E from B4 to E4 use the following formula and copy down and right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file for clarification
    Thanks for this...

    what I was after was another tab with tables for each revenue band (listed above) and the clients that fit within that band.

    I'd also like to know which clients each "lead" and "Support" were responsible for and the amount of revenue each lead and support was responsible for

    Does that make sense

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Extracting rows that fulfil a criteria

    Hi
    1) you can copy the 'After' sheet as many as you need and change A1 and B1 according
    The second question can be solved with a new column with the rank of each Client (I suppose)

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Extracting rows that fulfil a criteria

    See attached:

    formula

    =IFERROR(INDEX(Before!$A$1:$D$24,AGGREGATE(15,6,ROW($D$2:$D$24)/(--(Before!$D$2:$D$24>$H$2)*--(Before!$D$2:$D$24<=$H$3)),ROWS($A$1:$A1)),COLUMNS($A:A)),"")
    Attached Files Attached Files

+ 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. extracting rows into new sheet when date criteria is met
    By hersh.patel86@gmail. in forum Excel General
    Replies: 2
    Last Post: 08-31-2015, 09:43 AM
  2. Lookup of an Item across markets to fulfil orders
    By Nicole Matthews in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2015, 10:45 AM
  3. [SOLVED] Extracting from table based on criteria and auto delete rows after 4 days from database
    By ACALEX in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2014, 10:33 AM
  4. Prevent saving of excel if certain condition not fulfil
    By caabdul in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2014, 03:41 AM
  5. [SOLVED] Extracting certain rows based on multiple criteria
    By Nurik in forum Excel General
    Replies: 6
    Last Post: 10-30-2013, 02:05 PM
  6. extracting rows of data from a table that are met by criteria in two separate columns
    By markhocek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2013, 03:20 AM
  7. Extracting rows based on fixed criteria
    By EdMac in forum Excel General
    Replies: 6
    Last Post: 07-06-2006, 02:10 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