+ Reply to Thread
Results 1 to 3 of 3

Drag-fill skipping a lot of rows

  1. #1
    Registered User
    Join Date
    06-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    38

    Drag-fill skipping a lot of rows

    Hello!

    I try and drag down a group of formulas, but it skips about 15 lines. I'm sure there is a very simple fix to this and I tried scanning the forums, but couldn't find anything.

    I attached the workbook and highlighted the incorrect info in yellow.

    Thanks!

    - Santana
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Drag-fill skipping a lot of rows

    Hi PS Dude,

    Take a look at the formulas I used on the September sheet, cells A2:B2 (merged) and B3:B13. I changed the simple reference formulas to INDIRECT formulas, so you can manipulate how many rows to advance when copying the formulas downward. For example, to get the value for A2:B2, I used:

    =INDIRECT("'Paste Export Temp Here'!A"&CEILING((ROW()-1)/12,1)+1)

    Which takes the current row (2), subtracts 1 to get 1, then divides that by 12 to get a decimal number. This decimal is then rounded up to the nearest whole number and then I add 1 at the end because the data in Paste Export Temp Here starts in the second row, not the first. Because 1/12 through 12/12 round up to 1, and 13/12 through 24/12 round up to 2, this results in referencing row 2 for rows 2-13 (1-12 when 1 is subtracted initially) and 3 for rows 14-25 (13-24 when 1 is subtracted initially).

    Somewhat confusing, but seems to work when the formulas are copied from, say, A14:B25 down to A26:B37. Because of the merged cell(s) I wasn't able to drag the formulas down, but I could select A14:B25 and copy, then select A26 and choose Edit -> PasteSpecial -> Formulas.

    Hope that helps!

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Drag-fill skipping a lot of rows

    One other note:

    In your original file, on the "Paste Export Temp Here" sheet you had "Hedda Lettus" while on the "Paste Logs Here" sheet you had "Hedda Luttus". For obvious reasons the formulas would not find a match, so I changed the"Luttus" to "Lettus" on the Logs sheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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