+ Reply to Thread
Results 1 to 3 of 3

need help pasting formulas n times in another worksheet

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    Mexico
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Unhappy need help pasting formulas n times in another worksheet

    Good morning VBA gurus!

    I need your help with some VBA code to achieve the following:
    In Sheet1 I have a list of part numbers from A4 to A292, I need Sheet2 to have 15 rows with the formula =Sheet1!A4 (starting on A4) and so on and so forth (all 288 rows in Sheet1).. so Sheet 2 would look like this

    A1 - blank
    A2 - blank
    A3 - blank
    A4 - =Sheet1!A4
    A18 - =Sheet1!A4
    A19 - =Sheet1!A5
    A33 - =Sheet1!A5

    etc... can someone please help??

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: need help pasting formulas n times in another worksheet

    The quick answer is no.

    How can anyone help you with this?

    You want 15 rows for each part number in sheet 1 and only show us 7.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-06-2015
    Location
    Mexico
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: need help pasting formulas n times in another worksheet

    Sorry for the confusion, I thought I had that covered by the "so on and so forth" part.
    Basically this is what my Sheet1 looks like:

    Cell Value
    A1 (blank)
    A2 (blank)
    A3 (blank)
    A4 6000-6001
    A5 6005-6001S
    A6 6010-6001
    .
    .
    .
    A292 6500-6001S

    snd this is what I need my Sheet2 to look like:

    Cell Formula
    A1 (blank)
    A2 (blank)
    A3 (blank)
    A4 =Sheet1!A4
    A5 =Sheet1!A4
    A6 =Sheet1!A4
    A7 =Sheet1!A4
    A8 =Sheet1!A4
    A9 =Sheet1!A4
    A10 =Sheet1!A4
    A11 =Sheet1!A4
    A12 =Sheet1!A4
    A13 =Sheet1!A4
    A14 =Sheet1!A4
    A15 =Sheet1!A4
    A16 =Sheet1!A4
    A17 =Sheet1!A4
    A18 =Sheet1!A4
    A19 =Sheet1!A5
    A20 =Sheet1!A5

    and so on.. that is, for each cell in column A of Sheet1 to have 15 rows in column A of Sheet2 (formula, not paste values)

    I hope this is clearer, thank you in advance for any help given

+ 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 formula down rows based on pattern
    By lockye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2012, 11:16 AM
  2. Pasting Times in different formats
    By adam2308 in forum Excel General
    Replies: 6
    Last Post: 03-07-2012, 06:41 PM
  3. Replies: 10
    Last Post: 06-01-2011, 02:45 AM
  4. pasting cell number of times
    By rockstart in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-24-2011, 05:29 PM
  5. Excel 2007 : Copy and Pasting multiple times
    By Ray789 in forum Excel General
    Replies: 4
    Last Post: 05-05-2010, 02:40 PM
  6. Automatically pasting worksheet data to new worksheet with formulas
    By COntactJason in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-10-2005, 03:22 PM
  7. pasting values X number of times
    By bombayterror in forum Excel General
    Replies: 4
    Last Post: 05-09-2005, 01:41 PM
  8. Replies: 3
    Last Post: 03-26-2005, 11:06 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