+ Reply to Thread
Results 1 to 4 of 4

Copy row values 'x' number of times based on cell value

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    77

    Copy row values 'x' number of times based on cell value

    Hi
    I would like a macro to list items with quantity that can be put in a box from a total number that has been shipped. The attached spreadsheet shows a table containing items listing total quantity shipped against corresponding quantity per box. Each item has a maximum quantity per box which is defined in column B. The expected results are shown from D10 to E23.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Copy row values 'x' number of times based on cell value

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Copy row values 'x' number of times based on cell value

    Hello JLGWhiz

    This is excellent thank you very much - It is exactly what I was looking for and works perfectly.

    Thanks again
    Hoss.

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Copy row values 'x' number of times based on cell value

    Quote Originally Posted by hoss88 View Post
    Hello JLGWhiz

    This is excellent thank you very much - It is exactly what I was looking for and works perfectly.

    Thanks again
    Hoss.
    You're welcome,
    Regards, JLG

+ 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. [SOLVED] Copy Column x number of times based on cell value?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2017, 11:20 AM
  2. Use VBA to copy sheet number of times based on cell?
    By ColdWater in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2017, 09:40 PM
  3. Copy and Paste Cell X number of times based on Adjacent Cell
    By GabeGabe in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2016, 11:40 AM
  4. [SOLVED] Copy paste data number of times based on cell value
    By shreeja178 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2016, 06:19 AM
  5. Copy Cell Values in two Columns down x number of times then jump and copy some more.
    By scholly23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2014, 03:19 AM
  6. Copy a row and paste it a number of times based on a cell value
    By glrubens in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2013, 12:37 PM
  7. VBA; copy paste number of times based on cell value
    By photopidge in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2011, 03:17 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