+ Reply to Thread
Results 1 to 3 of 3

find row that has a value in column and then copy rows by value into new sheet

  1. #1
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    find row that has a value in column and then copy rows by value into new sheet

    Hello Forum

    I have an order form (sheet1) columns A:E where the customer will populate a cell in column F with how many items they require.

    I would like a macro that would find the row with a value in column F and then copy that data ( columns A:E ) onto sheet2 by the value in column F. and then enter a 1 in column F

    Once it has processed a row it would need to carry on to find the next row and repeat and then paste after the last row of data from the previous entry.

    For example the below i would like the below 5 times for the 1st row and 2 times for the second row

    1234 Apples John London 24th 5
    7654 Orange Bob Paris 1st 2


    1234 Apples John London 24th 1
    1234 Apples John London 24th 1
    1234 Apples John London 24th 1
    1234 Apples John London 24th 1
    7654 Orange Bob Paris 1st 1
    7654 Orange Bob Paris 1st 1


    Thank you in advance

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: find row that has a value in column and then copy rows by value into new sheet

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: find row that has a value in column and then copy rows by value into new sheet

    If a VBA solution is not required BMV has an excellent formula approach to these kinds of challenges.

    How to Copy Cell Value for x number of times
    Dave

+ 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. VBA to copy all rows in any sheet with 1 in column A and copy entire row to specific sheet
    By Lazarus Rises in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-21-2020, 02:17 AM
  2. Find specific word in Column A & copy that row & the next 30 rows to a new sheet
    By ludsonline in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2017, 08:04 AM
  3. [SOLVED] Find Value in a column, then copy all complete rows with that value into a new sheet
    By mbtsv in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-25-2017, 09:05 PM
  4. find min max in column and copy rows to new sheet with commandbutton
    By PaulScholes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2016, 06:15 PM
  5. Replies: 6
    Last Post: 11-13-2015, 07:36 AM
  6. Replies: 3
    Last Post: 01-30-2013, 04:32 PM
  7. find value from one column on one sheet and copy data to another sheet
    By t109a58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2013, 02:04 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