+ Reply to Thread
Results 1 to 2 of 2

Autofilling of formula for every 5th row

  1. #1
    Registered User
    Join Date
    05-22-2011
    Location
    seattle wa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Autofilling of formula for every 5th row

    Hello,

    Can somebody please help in running a auto filling of highlighted formula for rebalancing after every fifth row for eight years daily data which I cannot do manually. Which way would be easiest macro coding or is there any simplest way?
    I am new to coding for macros in excel.
    Please find my sample spread sheet attached.

    Appreciate the help in advance.

    Thanks,
    Jasme
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Autofilling of formula for every 5th row

    Hi Jasme, try the following code.
    It copies the row where you have all the formula every 5 rows down. The only drawback, it does not the last copy at the end of the sheet. You'll have to do it manually.
    I also attached file with the macro.
    Pierre
    P.S. as you had reference to another workbook in your formula, I'm not sure how it will show on the attached file. Make sure your formula are OK. Be better to create the procedure in your original file, though.

    Please Login or Register  to view this content.
    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)

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