+ Reply to Thread
Results 1 to 5 of 5

Fill an incremental time entry in blocks of 4 rows

Hybrid View

suedavies Fill an incremental time... 04-08-2014, 02:10 PM
DBY Re: Fill an incremental time... 04-08-2014, 02:21 PM
martindwilson Re: Fill an incremental time... 04-08-2014, 02:26 PM
DBY Re: Fill an incremental time... 04-08-2014, 02:31 PM
suedavies Re: Fill an incremental time... 04-08-2014, 04:01 PM
  1. #1
    Registered User
    Join Date
    08-04-2012
    Location
    cardiff
    MS-Off Ver
    Excel 2007
    Posts
    49

    Cool Fill an incremental time entry in blocks of 4 rows

    I need to find a formula to copy down time so that it increments by 1 min every 5th row

    eg Rows 1- 4 are 8:01 and rows 5 -8 are 8:02 and so on for 1000 lines

    Thanks

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Fill an incremental time entry in blocks of 4 rows

    Hello

    With your start time in A1, try in cell A2 copied down:

    =IF(MOD(ROW(),5),A1,A1+TIME(0,1,0))
    Hope this helps.
    DBY

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Fill an incremental time entry in blocks of 4 rows

    that would need to be in a2
    =IF(MOD(ROW(A1),4),A1,A1+TIME(0,1,0))
    to get
    08:01
    08:01
    08:01
    08:01
    08:02
    08:02
    08:02
    08:02
    08:03
    08:03
    08:03
    08:03
    if you just use row() you get
    08:01
    08:01
    08:01
    08:02
    08:02
    08:02
    08:02
    08:03
    08:03
    08:03
    08:03
    08:04
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Fill an incremental time entry in blocks of 4 rows

    With your start time in A1, try in cell A2 copied down:
    Martin, that's what I've done. It seems to work for me. I get an increment of 1 minute every 5 rows, unless I've misunderstood.

  5. #5
    Registered User
    Join Date
    08-04-2012
    Location
    cardiff
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: Fill an incremental time entry in blocks of 4 rows

    Thank you Martin and DBY

    Thats working great now

    Thank you both for your assistance

+ 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. Replies: 0
    Last Post: 11-06-2012, 04:09 PM
  2. Data entry blocks
    By DennisCoffey in forum Excel General
    Replies: 4
    Last Post: 03-31-2011, 10:07 AM
  3. Blocks of Cells and Color Fill
    By MrDubleTruble in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2010, 03:36 PM
  4. Auto fill doesn’t work, but trying to avoid manual entry of rows.
    By Sal1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-01-2010, 05:55 PM
  5. Fill range with incremental numbers
    By Jaymond Flurrie in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-26-2008, 01:13 AM

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