Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel Guru's need help with a formula/algorithm ?

Thread Tools
 
Search this Thread
 
Old 16 May 2006, 12:30 PM
  #1  
jase555
Scooby Regular
Thread Starter
 
jase555's Avatar
 
Join Date: Apr 2000
Posts: 1,209
Likes: 0
Received 0 Likes on 0 Posts
Default Excel Guru's need help with a formula/algorithm ?

ok anybody help,

need an excel formula that will allow me to randomly generate a password that has

2 alpha and 4 numeric and say for 50 users

eg

ab9234

thanks in advance hopefully

jase
Old 16 May 2006, 01:27 PM
  #2  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

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

add 97 instead of 65 for lower case letters
Old 16 May 2006, 01:28 PM
  #3  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

generate a random number (inline wish the ascii code's)

then convert the random number using chr()

David
Old 16 May 2006, 01:28 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

or as above... too slow.
Old 16 May 2006, 01:30 PM
  #5  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

Or http://www.snapfiles.com/reviews/Pas...sswordkit.html
Old 17 May 2006, 10:18 AM
  #6  
jase555
Scooby Regular
Thread Starter
 
jase555's Avatar
 
Join Date: Apr 2000
Posts: 1,209
Likes: 0
Received 0 Likes on 0 Posts
Default

thanks everybody
Old 23 June 2006, 10:32 AM
  #7  
RMA26
Scooby Regular
 
RMA26's Avatar
 
Join Date: Dec 2005
Location: West Yorkshire
Posts: 4,778
Likes: 0
Received 0 Likes on 0 Posts
Default

or use

www.mrexcel.com

I do, ALOT!!

Mark (Andrews) on MrExcel
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: Excel Guru's need help with a formula/algorithm ?



All times are GMT +1. The time now is 06:41 PM.