How to? Create random letters and numbers in a cell

C

Chris

Hi All,

I used a spredsheet to create new users onto our network.
We input their name, job title, server and their password they will use to
login to windows.

Is it possible to make some random charaters appear by clicking on the
password cell? EG.

Name Job Function Password Server
John Smith CSR <CLICK> Bristol

these passwords have to be in this Format: 2 Uppercase, 5 lower case, 1number.
i.e

UUlllll1

is this possible?

Regards,
Chris
 
B

Bernd P

=CHAR(INT(RAND()*26+65))&CHAR(INT(RAND()*26+65))&CHAR(INT(RAND()*26+97))&CHAR(INT(RAND()*26+97))&CHAR(INT(RAND()*26+97))&CHAR(INT(RAND()*26+97))&CHAR(INT(RAND()*26+97))&CHAR(INT(RAND()*10+48))

Regards,
Bernd
 
T

Teethless mama

=CHAR(RANDBETWEEN(CODE("A"),CODE("Z")))&CHAR(RANDBETWEEN(CODE("A"),CODE("Z")))&CHAR(RANDBETWEEN(CODE("a"),CODE("z")))&CHAR(RANDBETWEEN(CODE("a"),CODE("z")))&CHAR(RANDBETWEEN(CODE("a"),CODE("z")))&CHAR(RANDBETWEEN(CODE("a"),CODE("z")))&CHAR(RANDBETWEEN(CODE("a"),CODE("z")))&RANDBETWEEN(1,9)
 
C

Chris

Thanks,

is there a way to make this into such away that when i click the cell the
random password is inputted stright away? as i dont want to have to copy and
past the formula each time

regards,

chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top