+ Reply to Thread
Results 1 to 7 of 7

how can I repeat values in cells multiple times?

  1. #1
    Registered User
    Join Date
    11-20-2011
    Location
    Switzerland
    MS-Off Ver
    Office 365
    Posts
    28

    how can I repeat values in cells multiple times?

    hello Gurus
    my question is as follows:
    I have a column with filled consecutive numbers, from 1 to 2800.
    I need to repeat these numbers multiple times
    in attachment the before and after.
    thank you and regards

    Alisa

    P.S. I am sure it is not difficult...please just be patient
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: how can I repeat values in cells multiple times?

    Hmm, you have 365, so we can try something like this.
    There is no before, it is just after
    Put into starting cell of "after":
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    As xMaxNumber put 2800 (instead of 50 above) and as xRepeats = how many times you want to repeat each number (instead of 3 above).
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    04-18-2007
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    40

    Re: how can I repeat values in cells multiple times?

    I suspect most unsophisticated users (like myself) would do this:

    A1: 1
    A2: 1
    A3: 1
    A4: =A1+1

    Then just copy cell A4 and paste it all the way down to row 8400 or so. Job done.

    After that you might want to copy the whole column and "paste values" back over itself to lock all the numbers in, otherwise the formulae will mess up if you sort the sheet by a different column.
    Last edited by shreksbro; 03-15-2023 at 08:31 PM.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: how can I repeat values in cells multiple times?

    or:

    =TEXTSPLIT(CONCAT(REPT(SEQUENCE(20)&",",5)),,",",1)

    red the sequence of numbers to repeat. Green, the number of repetitions.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    11-20-2011
    Location
    Switzerland
    MS-Off Ver
    Office 365
    Posts
    28

    Re: how can I repeat values in cells multiple times?

    hmm, it does not do anything.....

  6. #6
    Registered User
    Join Date
    11-20-2011
    Location
    Switzerland
    MS-Off Ver
    Office 365
    Posts
    28

    Re: how can I repeat values in cells multiple times?

    works like a charm, thanks

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: how can I repeat values in cells multiple times?

    Not sure who you are talking to....

    but...


    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Repeat a row multiple times
    By sakshia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2021, 12:30 PM
  2. How can I move multiple cells more quickly and repeat it several times.
    By dustinshaw in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-17-2016, 08:50 PM
  3. [SOLVED] Repeat formula X times - once X times has been achieved then Y - repeat X again
    By jonnym28 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-25-2015, 11:53 AM
  4. Repeat cell values a certain number of times
    By strother1990 in forum Excel General
    Replies: 2
    Last Post: 09-24-2014, 12:43 PM
  5. [SOLVED] To repeat row values, a specified number of times
    By ramananhrm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-09-2014, 11:30 AM
  6. [SOLVED] Faster Way To Repeat Values Multiple Times
    By non-hype in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2013, 10:59 PM
  7. [SOLVED] Find result what is times of value of repeat for same repeated values
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-06-2013, 10:48 AM

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