Results 1 to 2 of 2

Thread: VBA Code To Autofill Formula In Every Nth Row

  1. #1
    Member
    Join Date
    Aug 2013
    Posts
    59
    Rep Power
    12

    VBA Code To Autofill Formula In Every Nth Row

    I have a worksheet wherein Data is in Column A to O.

    Column P is just (blank) used as Seperator.

    Column Q, and Column R is Output column, where I need Formula in every 4th ROW, Sample formula given in Cell Q4, and Cell R4.

    These formula uses relative reference, and not absolute, which i want to fill in every 4th row next to it (starting from Q4,R4), like next Q8,R8, Q12,R12, and so on till end of worksheet, corresponding to data available in Column A, which currently has 144 rows.

    (Code should fill in the formula in every 4th Row in Column Q, and Column R starting from Q4, and R4)

    Data rows could vary between 200 to 20000, on several days, so use, Column A to find data in last row, and accordingly (using XLDOWN / XLUP) function above formula is required to be autofilled in till end.

    My excel version is Excel 2007, but i am giving this sample workbook in 2003 format, which should not be a big issue, I guess!

    Thanks
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Aug 2013
    Posts
    59
    Rep Power
    12
    Through the help of Admin, Excel Fox, I am now able to fix this issue. Thank you very much. This thread can be closed/ considered as solved.

Similar Threads

  1. Replies: 6
    Last Post: 12-23-2013, 04:07 PM
  2. Nth Day Of Week Number Using Formula
    By paul_pearson in forum Excel Help
    Replies: 2
    Last Post: 06-16-2013, 06:40 PM
  3. VBA code to move row to new spreadsheet
    By cdurfey in forum Excel Help
    Replies: 6
    Last Post: 06-10-2013, 10:38 PM
  4. Autofill the data based on non blank cell in next row?
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 3
    Last Post: 11-29-2012, 04:16 PM
  5. Vba Code to find value and paste on certain row
    By jwitte in forum Excel Help
    Replies: 3
    Last Post: 11-28-2012, 08:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •