+ Reply to Thread
Results 1 to 11 of 11

Generate static random numbers within formula

Hybrid View

SteveTheFish Generate static random... 04-10-2015, 01:13 AM
adhawan06 Re: Generate static random... 04-10-2015, 01:27 AM
SteveTheFish Re: Generate static random... 04-10-2015, 01:59 AM
bebo021999 Re: Generate static random... 04-10-2015, 01:44 AM
SteveTheFish Re: Generate static random... 04-10-2015, 02:04 AM
adhawan06 Re: Generate static random... 04-10-2015, 02:07 AM
SteveTheFish Re: Generate static random... 04-10-2015, 02:17 AM
Crooza Re: Generate static random... 04-10-2015, 02:17 AM
SteveTheFish Re: Generate static random... 04-10-2015, 02:41 AM
Crooza Re: Generate static random... 04-10-2015, 02:46 AM
SteveTheFish Re: Generate static random... 04-10-2015, 02:51 AM
  1. #1
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Generate static random numbers within formula

    Why don't you try something like this

    Set cell A1 to a toggle switch (ie you want the formula to update when A1 = YES) then change your formula to this

    =if(A1="YES",IF(AND(B3="",C3="",D3=""),"",CONCATENATE("Student ",B3,"-",C3,"-",RANDBETWEEN(0,500000))),z1)

    where Z1 is the cell reference you have this formula in. it will recalculate when you want it to (when A1 = Yes) and when you change A1 to anything but YES it will give you a circular reference warning the first time but only the first time but more importantly it won't change your number
    Happy with my advice? Click on the * reputation button below

  2. #2
    Registered User
    Join Date
    11-18-2014
    Location
    Uganda
    MS-Off Ver
    2013
    Posts
    25

    Re: Generate static random numbers within formula

    Crooza - Thanks for this. Your suggestion achieves extaly what I have been after.

    Appreciate it

    P.s - will i get any problems having circular references within a dynamic table? (perhaps I should post this in a new thread )

+ 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. Random Numbers assigned to static values multiple times no duplicates....?
    By rhattala in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-24-2014, 09:40 PM
  2. Print to text file and Static random numbers?
    By xizor in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2014, 03:58 PM
  3. Print to text file and Static random numbers.
    By xizor in forum Excel General
    Replies: 0
    Last Post: 06-28-2014, 10:46 PM
  4. Formula to generate unique random numbers?!?
    By aims in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2013, 03:14 PM
  5. Replies: 2
    Last Post: 09-24-2010, 12:11 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