+ Reply to Thread
Results 1 to 6 of 6

How to repeat a formula automatically every nth rows?

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Unhappy How to repeat a formula automatically every nth rows?

    Hi there,

    I need to have a formula to repeat every 24 rows. This formula calculates the rate of change for every 24 hrs of inches of water in a tank in percentage.
    I need to have this formula display every 24th row (for each new day)
    There is no way I am going to do it manually for thousands of rows...

    I don't know how to do this and any help would be greatly appreciated.


    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,414

    Re: How to repeat a formula automatically every nth rows?

    Hi,
    Here's a quick way to do it :

    In F1 type "Temp"
    In F2, type =MOD(ROW(), 24)

    Your formula is on the value 15.
    So filter your data on row F on value = 15


    Now go in E15 and copy (CTRL +C)
    Move one cell right
    CTRL + DOWN
    LEFT ARROW (you should be in E11799)
    CTRL + SHIFT + UP
    CTRL +V (to paste data)

    Unfilter data in column F and delete this temp column.

    Done!
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: How to repeat a formula automatically every nth rows?

    Quote Originally Posted by GC Excel View Post
    Hi,
    Here's a quick way to do it :

    In F1 type "Temp"
    In F2, type =MOD(ROW(), 24)

    Your formula is on the value 15.
    So filter your data on row F on value = 15


    Now go in E15 and copy (CTRL +C)
    Move one cell right
    CTRL + DOWN
    LEFT ARROW (you should be in E11799)
    CTRL + SHIFT + UP
    CTRL +V (to paste data)

    Unfilter data in column F and delete this temp column.

    Done!
    I think this way of generating the formulas wouldn't work out as intended.

    Edit : I'm not intending to add any disrepute to the above post, but I tried this solution and it was not working. Just wanted to highlight the same. My sincere apologies XOR LX.
    Last edited by Saarang84; 05-20-2014 at 02:58 AM.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to repeat a formula automatically every nth rows?

    Hi,

    How about, in E2 and copy down:

    =IF(INT(A2)=A2,(B25-B2)/ABS(B2),"")

    @Sarang That's not a very constructive comment: perhaps you could explain why you think that, rather than just saying "I don't think that will work".

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: How to repeat a formula automatically every nth rows?

    Hi ,

    Clarify the formula in E39,E63 & 87, they are varying pl z check and confirm which was to be taken into consideration .

    Regards
    Ravi

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: How to repeat a formula automatically every nth rows?

    Hi ,Backup System Rate change.xlsx

    Please have a look this sheet .

    Regards,
    Punnam

+ 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. Automatically repeat four times with a formula vertically
    By Enda80 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-05-2014, 11:47 AM
  2. How to repeat a formula automatically every seven columns
    By Capa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2010, 05:13 PM
  3. Replies: 6
    Last Post: 01-20-2010, 04:09 PM
  4. macro to repeat a formula a set number of rows apart
    By steveo in forum Excel General
    Replies: 1
    Last Post: 07-10-2006, 04:21 PM
  5. Replies: 2
    Last Post: 08-24-2005, 12:05 PM

Tags for this Thread

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