+ Reply to Thread
Results 1 to 4 of 4

Filter the original sheet based on comparison and paste the results onto a new sheet

  1. #1
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Calgary CA
    MS-Off Ver
    Excel 2010
    Posts
    117

    Question Filter the original sheet based on comparison and paste the results onto a new sheet

    Dear Forum Gurus:

    Please take a look of the following description and provide a code to do described tasks.


    Pseudo Code:
    1, Create a new sheet called "Short List" on the next available tab

    2, Add headers to the sheet "Short List" : Part #, Part Description, Total Quoted Value, Annually Average Quoted Value, Average Quoted Price Per Item, Lost/Demand, Annually Average # of Inquires

    3, Starting from row 2 of sheet "Quote Summary",
    if the value of D2>5000 & the value of F2>20 & the value of K2>0.3 & the value of L2>3
    then copy the values of cells A2, B2,C2,D2,F2,K2,L2 from sheet "Quote Summary" and paste them to the next available row in the same order onto to the sheet "Short List" .

    4, Repeat step 3 for all of the rows of the sheet Quote Summary


    Process Sample-Create Short List Based on Filtering Results.xlsm


    Thank you and I am looking forward to your response,

    Chris

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Filter the original sheet based on comparison and paste the results onto a new sheet

    The test don't select any data ( Column never > 5000) but try next code with new data

    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Calgary CA
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Filter the original sheet based on comparison and paste the results onto a new sheet

    Quote Originally Posted by PCI View Post
    The test don't select any data ( Column never > 5000) but try next code with new data

    Please Login or Register  to view this content.

    Dear PCI:

    Thank you so much for your response!

    The code did a great job to process my 50k rows of data!

    Thanks again,

    Chris

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Filter the original sheet based on comparison and paste the results onto a new sheet

    Good news.
    But if time treatment is an issue we can speed up the code
    Enjoy XLSM

+ 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. Hide columns on one sheet based on dropdown on the original sheet
    By dangerdavedsp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2014, 10:08 AM
  2. [SOLVED] Need: filter, paste info to new sheet, rename sheet, unfilter, hide column, filter next
    By esmithqg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2012, 04:49 PM
  3. [SOLVED] Run recorded macro based on current sheet, not the original sheet
    By magillmjl in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-22-2012, 06:23 PM
  4. Referencing original sheet to copy/paste into new sheet without using file name
    By pgarakani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2012, 02:06 PM
  5. Filter records, paste into a different sheet, delete rows from original sheet.
    By gloworm1973 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2009, 05:24 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