+ Reply to Thread
Results 1 to 7 of 7

Multisheet formula autofill while skipping rows

  1. #1
    Registered User
    Join Date
    08-04-2008
    Location
    Denver
    Posts
    2

    Multisheet formula autofill while skipping rows

    Hello all-

    I am struggling to figure out what is likely a simple problem.

    I have a workbook in which I keep track of daily numbers on one worksheet, however, I compile reports for those numbers in a separate worksheet which only needs to reference 1 day per week. I created a formula to that points at the first day I need to reference, and I would like to autofill the formula into the subsequent rows on the worksheet, but need to skip rows.

    Here's an example of the formula I created in the worksheet titled "weekly report":

    Cell C5: ='DailyNumbers!P5'

    I need cell C6 on the weekly report worksheet to say ='DailyNumbers!P10', and then cell C7 to say ='DailyNumbers!P15' etc etc etc for many hundreds of rows. Of course, when I try to autofill the formula, however, the relative referencing just makes the cell reference 1 row higher each time.

    Is there a way for me to force autofill to skip rows so I can quickly create all of the formulas I need, or am I looking at hours of formula typing to get it all plugged in?

    Thanks in advance!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612
    Not knowing the layout of your sheets, try this:
    On the Weekly Report sheet, select an unused column (X, for example) and, in row one enter,
    Please Login or Register  to view this content.
    Copy down as needed. Then in cell C5 replace the current formula with:
    Please Login or Register  to view this content.
    and copy down.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-04-2008
    Location
    Denver
    Posts
    2
    Great! Thank you very much!

  4. #4
    Registered User
    Join Date
    03-07-2012
    Location
    Germantown WI
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Multisheet formula autofill while skipping rows

    Hi i'm trying to do the same thing here, where the i want to skip 57 rows using autofill, but somehow i can't get it to work,
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-19-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Multisheet formula autofill while skipping rows

    I also can't get the above formula to work. I've attached my sheet with the errors I'm getting. Hopefully we can figure this out. Thanks for the help.
    Attached Files Attached Files

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Multisheet formula autofill while skipping rows

    Ace_1321,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    09-29-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2011
    Posts
    1

    Re: Multisheet formula autofill while skipping rows

    Hello Forum Guru,

    I hope this message finds you well. I had a similar issue to this person, and tried entering my data, relevant to your formula, but received an error message. Your formula listed above is: ='DailyNumbers!P & ROW() * 5. There is an extra single quote mark, so I did edit that, but what value do I put into the ROW() variable? The row # from the reference sheet?

    Any input is appreciated,
    T

+ 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