+ Reply to Thread
Results 1 to 7 of 7

Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    I need help with Copy and Pasting Rows in Excel into a New Sheet based on Cell Value.

    Attached is an example excel.


    Column A has series on numbers ( repeated ) arranged in order. Need help, were, for every range of repeated numbers, and for the top row, if the the B value is a not a L1, that row should be copied to Kick back sheet as values.

    Appreciate yor help in advance
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    Hi denish,

    No VBA or Programming is needed for your problem.

    Learn about the Advanced Filter that is build into Excel. I've also used a Dynamic Named Range on the Raw Data sheet to do your problem. See the attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    As per my understanding..

    Column A has series on numbers ( repeated ) arranged in order. Need help, were, for every range of repeated numbers, and for the top row, if the the B value is a not a L1, that row should be copied to Kick back sheet as values.
    If in the set of range, if 1st one is not L1, then complete set need to copy..

    If I am right!! then .. try this..

    Please Login or Register  to view this content.
    Last edited by Debraj Roy; 11-27-2014 at 08:56 PM.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    @debraj roy: Thank you for your help. Believe I need for modification.Attached the excel post runnin the script.

    The outcome is not what I am looking for. Kick Back sheet should have the first row from "Raw Data" (excluding L1's) for each range without duplicating
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    @marvin - I am trying to understand the attachments. Thaanks

  6. #6
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    Can you please uploads a sample output..

  7. #7
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Copy and Pasting Rows in Excel into a New Sheet based on Cell Value

    I have attached it in my previous reply

+ 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. Copy rows to new sheet based on cell value
    By iseman002 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2013, 10:40 AM
  2. [SOLVED] Excel VBA/Macro - Copy Number of Rows based on the number in a cell to another sheet
    By diane.alexander58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2012, 11:32 AM
  3. Copy rows to a different sheet based on a cell's value
    By Wedge120 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2011, 04:38 PM
  4. Copy rows based on cell's to another sheet.
    By the.root in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-11-2009, 04:31 AM
  5. Copy Rows from selected Sheet to New Sheet based on Cell Value
    By joemcmillen in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 04-03-2008, 03:44 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