+ Reply to Thread
Results 1 to 5 of 5

Randbetween alternative for generating continuous numbers (single cell)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Randbetween alternative for generating continuous numbers (single cell)

    Hi,

    I wondered if the folloiwng is possible within excel

    Currently, pressing F9 with the following formula: RANDBETWEEN(0,10)

    Will generate a series of random numbers i.e. 4,2,7,1,8,9,1,5,10,3,

    However is there a formula where if I press F9, the sequence can be continuous rather than random:

    i.e. 1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6....

    Or is this only possible using Vba?

    Thanks

    Mdn

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Randbetween alternative for generating continuous numbers (single cell)

    File > Options > Formulas, tick Enable Iterations, Max Iterations: 1

    In A1,

    =MOD(A1, 10) + 1
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: Randbetween alternative for generating continuous numbers (single cell)

    Genius!!

    Many thanks shg

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Randbetween alternative for generating continuous numbers (single cell)

    You're welcome.

  5. #5
    Registered User
    Join Date
    08-19-2014
    Location
    Dallas, TX
    MS-Off Ver
    Office2013
    Posts
    44

    Re: Randbetween alternative for generating continuous numbers (single cell)

    Very cool. I had the MOD part but couldn't figure out the incrementing with refresh (F9) part (by allowing iterations). I learned something cool today, so today is a success and now I can go back to bed. Thanks!

+ 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] Generating numeric values in multiple cells using a single cell as reference.
    By 0Cool in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2019, 12:22 PM
  2. Replies: 10
    Last Post: 07-03-2015, 04:29 PM
  3. [SOLVED] Randbetween to take numbers based on the cell values
    By harish.chinni in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-12-2013, 03:17 AM
  4. Generating all #s in a range with the RANDBETWEEN function
    By Excel_vba in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2013, 08:57 AM
  5. [SOLVED] Need to separate continuous capital words of a string within a single cell
    By anchuri_chaitanya in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2013, 02:56 AM
  6. For Loop in Macro for generating continuous nos with a condition
    By sawoodalam1989 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-26-2013, 01:52 PM
  7. generating a column table from a single in put cell
    By ziadkhan in forum Excel General
    Replies: 13
    Last Post: 10-15-2012, 05:21 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