+ Reply to Thread
Results 1 to 6 of 6

Copying specific range to another sheet

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    9

    Copying specific range to another sheet

    How can I select a group of rows that have specific value in a cell/column then copy that range to a new sheet within the same workbook?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copying specific range to another sheet

    Are you looking for worksheet formulas to update another sheet in real-time based on some search/filter criteria? Or are you thinking of an on-demand macro?

    Tell us more ...or click on GO ADVANCED and use the paperclip icon to attach a sample workbook showing example data and example "results" so we can see your work process.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-30-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Copying specific range to another sheet

    attached is the excel sheet.

    Thanks for your help
    Attached Files Attached Files

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Copying specific range to another sheet

    Hi SVS,

    On the Original Datas sheet:
    1. Select cells A5:G71
    2. Click Data -> Filter -> Autofilter
    3. Click the drop-down next to Volume in F5 and select (Custom...)
    4. Change the first drop down (should default to 'equals') to 'is less than or equal to' (or just 'is less than')
    5. Type 300000 in the box to the right of that, then click OK
    6. Select the filtered rows of data
    7. Press F5, then click the 'Special...' button
    8. Select 'Visible Cells Only' and click OK
    9. Press CTRL+C (or Edit -> Copy) to copy
    10. Go to Output sheet and in cell A2 press CTRL+V (or Edit -> Paste)

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copying specific range to another sheet

    As long as the OUTPUT sheet exists, this macro will ASK you what your cutoff value is and then copy all the rows on the Original Datas sheet below that value to the OUPUT sheet...any data on OUTPUT will be replaced.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-30-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Copying specific range to another sheet

    that works. one more option? what about 2 or 3 criterias? say <300000 and on specific date. my point is instead of doing an autofilter and copying things i want to create a macro where you input the field and it will show you the extracts in separate sheet. i would request you to not to input the data but check the 3 criteria in the macro itself and copy things to the new sheet.

    thanks

+ 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