+ Reply to Thread
Results 1 to 2 of 2

Incrementing in a group pattern

  1. #1
    Registered User
    Join Date
    05-27-2020
    Location
    Hungary
    MS-Off Ver
    2016
    Posts
    6

    Exclamation Incrementing in a group pattern

    Hi guys,
    is it possible to increment values by 1 in a group of cells in a column?
    I mean by i have a column, filled from starting from A1 with number 1, and i have 1 in A2, A3 and A4, and starting by A5 i have 2 in it, same in A6,A7 and A8. And i want this pattern to continue with 3,4,5,6,7 but it only increments in every 5th cell. so the next 4 cells will have value 3, and the 4 after that will have value 4.

    Like this. But the only difference is the fact that i have letters in front of it, so not just the numbers. So i want it to look like this:
    NKK2019
    NKK2019
    NKK2019
    NKK2019
    NKK2020
    NKK2020
    NKK2020
    NKK2020
    NKK2021
    NKK2021
    NKK2021
    NKK2021
    etc...
    Is there a way to fill it fast? I can't just drag it down sadly or add 1 to every cell.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Incrementing in a group pattern

    You could use some ROW() and INT() and MOD() formulas to do this, but I'd recommend just hardcoding a 1 in A1, A2, A3, and A4. Then the formula in A5 is =A1+1. Grab that formula and drag down as far as you wish.

    Now I see you want a quick method as you can't drag it down. Not quite sure what you want, as there are many ways to quickly paste. In my example above, just copy A5, select the range where you want that formula to apply (using the shift key to quickly select an array of cells), then hit paste.
    Last edited by Pauleyb; 05-27-2020 at 05:16 PM.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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. [SOLVED] Extract specific group in regex pattern
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2020, 01:57 PM
  2. Replies: 4
    Last Post: 01-27-2020, 04:40 AM
  3. Replies: 7
    Last Post: 08-27-2019, 08:37 AM
  4. Continuing a pattern on autofil without pattern re-starting
    By jakeyoung111 in forum Excel General
    Replies: 4
    Last Post: 06-22-2016, 11:11 AM
  5. [SOLVED] Lookup and return rows based on pattern start and pattern end
    By JDI in forum Excel General
    Replies: 18
    Last Post: 11-16-2014, 11:44 PM
  6. [SOLVED] copy the same pattern repeatedly while incrementing down only 1 row
    By tiger10012 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-26-2013, 01:36 PM
  7. Incrementing pattern. Value in row+1 for every n (n=6) cells
    By GradStudent2010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2010, 11:43 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