+ Reply to Thread
Results 1 to 2 of 2

Adding a random prefix and suffix to a cell

Hybrid View

alexadept Adding a random prefix and... 04-02-2015, 07:16 PM
alexadept Re: Adding a random prefix... 04-02-2015, 07:42 PM
  1. #1
    Registered User
    Join Date
    03-04-2015
    Location
    london
    MS-Off Ver
    13
    Posts
    2

    Adding a random prefix and suffix to a cell

    Hello,

    Im having an issue find a formula to help me add a prefix and suffix to a cell.

    For example:

    ALEX1000

    for this cell I would like to add 2 random letters in front and 2 random letters in the back. I need it to look like something like this QXALEX1000BP

    I found the formula (=left and =right) to remove it later, so I only need the random letters.

    PS: It could be letters and numbers


    Thanks and all help is appreciated.

  2. #2
    Registered User
    Join Date
    03-04-2015
    Location
    london
    MS-Off Ver
    13
    Posts
    2

    Re: Adding a random prefix and suffix to a cell

    After breaking my head for several days and testing for several hours, I figuired it out. For those like me that was looking for this here is

    =CHAR(RANDBETWEEN(65,90))& CHAR(RANDBETWEEN(65,90))&(B21)& CHAR(RANDBETWEEN(65,90))& CHAR(RANDBETWEEN(65,90))

+ 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] Using a Cell as Reference with possible prefix/suffix
    By Simon3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2015, 08:52 PM
  2. How to add prefix and suffix to a cell?
    By adi26 in forum Excel General
    Replies: 2
    Last Post: 08-28-2009, 03:21 AM
  3. adding a string prefix/suffix to a cell
    By elroy in forum Excel General
    Replies: 4
    Last Post: 03-08-2007, 04:47 AM
  4. adding prefix and suffix macro
    By justix in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-10-2007, 06:14 AM
  5. [SOLVED] adding the same prefix or suffix to a range of cells
    By Betty Turvy in forum Excel General
    Replies: 5
    Last Post: 07-12-2005, 01:05 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