+ Reply to Thread
Results 1 to 5 of 5

Random Formula for Mobile Number

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    18

    Exclamation Random Formula for Mobile Number

    Hello,
    I was wondering if its possible to create a RAND formula that can be used for a 11-digit Mobile Number. However I need to first 3-digits to be 077?
    Thank you

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Random Formula for Mobile Number

    Something like this?

    =077&RANDBETWEEN(10000000,99999999)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-05-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Random Formula for Mobile Number

    Quote Originally Posted by Fotis1991 View Post
    Something like this?

    =077&RANDBETWEEN(10000000,99999999)
    The formula seems to be working just fine, however the 0 at the beginning is not appearing. So it starts with 7?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Random Formula for Mobile Number

    Use it in this way

    ="077"&RANDBETWEEN(10000000,99999999)

  5. #5
    Registered User
    Join Date
    02-05-2013
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Random Formula for Mobile Number

    Quote Originally Posted by Fotis1991 View Post
    Use it in this way

    ="077"&RANDBETWEEN(10000000,99999999)
    Oh thank you for that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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