+ Reply to Thread
Results 1 to 1 of 1

Need code to copy and paste a formula a different number of times on each column

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-03-2013
    Location
    Costa Rica
    MS-Off Ver
    MS Excel 365
    Posts
    141

    Need code to copy and paste a formula a different number of times on each column

    Hi there!

    I need your super coding skills to help me here.

    Open the file enclose, please.

    I need to get a code that could help me achieve the following:

    The “Raw Data” tab has an array formula on each cell of row 3, starting on column E and ending on column X. I want the code to copy down (in the same column) each formula a number of times indicated in the cell that is over the formula (see row 2). I want the code to do the same thing in case the number of columns is increased beyond column X.

    Then, once the formulas have been copied down on its corresponding column, I need to transpose (copy and paste) the resulting values to the “Report” tab, matching the values according to the Resource number indicated in column A on each row (rows 3 to 18, but the number of rows could be fair higher). All values must be placed one next to each other. Example: for Resource 1 (row 3), the values must be copied starting on cell H3, and continuing on the same row across columns. So, the second value should go on cell I3, the third on J3, and so on.

    Thanks in advance for your help!
    Attached Files Attached Files

+ 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 and Paste data in column A number of times displayed in column B
    By anthony232 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2013, 05:13 PM
  2. Replies: 6
    Last Post: 12-15-2012, 05:08 PM
  3. VBA code to paste one value the number of times specified in a cell
    By Traziness in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-23-2012, 03:24 PM
  4. [SOLVED] Copy one value and paste it x number of times
    By jcb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-12-2012, 04:52 PM
  5. Copy then paste/insert X number of times
    By Steve6386 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-04-2010, 04:53 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