<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Random Archives - Excel Zoom</title>
	<atom:link href="https://excelzoom.com/tag/random/feed/" rel="self" type="application/rss+xml" />
	<link>https://excelzoom.com/tag/random/</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Fri, 30 Oct 2015 16:36:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>

<image>
	<url>https://excelzoom.com/wp-content/uploads/2022/04/favicon.ico</url>
	<title>Random Archives - Excel Zoom</title>
	<link>https://excelzoom.com/tag/random/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Generate Random Character String</title>
		<link>https://excelzoom.com/generate-a-random-character-string/</link>
					<comments>https://excelzoom.com/generate-a-random-character-string/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Mon, 16 Dec 2013 21:39:34 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Formula]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Shortcuts]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=453</guid>

					<description><![CDATA[<p>You may find yourself faced with a need to generate random character strings for various reasons. Recently I needed to help a company set up email accounts for all of their employees on a new server. I was given the email address usernames but needed to create the passwords for each account. I didn&#8217;t want [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/generate-a-random-character-string/">Generate Random Character String</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>You may find yourself faced with a need to generate random character strings for various reasons.</p>
<p>Recently I needed to help a company set up email accounts for all of their employees on a new server. I was given the email address usernames but needed to create the passwords for each account. I didn&#8217;t want to be lazy and assign everyone the same password, or even an easily guessed sequential password, so I used the tip below to generate random character strings in Excel to give each user a unique and random password.</p>

<h2>How to Generate Random Character String in Excel</h2>
<p>In order to generate random character strings in Excel, you need to be able to generate random numbers, upper and lowercase letters, and special symbols. Excel has this functionality built in to help generate random character strings.</p>
<h2>Generate Random Number String</h2>
<p>To generate a random number string in Excel, simply use a formula like this:</p>
<pre>=RANDBETWEEN(0,9)</pre>
<p>This will randomly display a number between 0 and 9 each time the page is refreshed.</p>
<h2>Generate Random Uppercase Letter String</h2>
<pre>=CHAR(RANDBETWEEN(65,90))</pre>
<p>This will randomly display a letter between A-Z.</p>
<h2>Generate Random Lowercase Letter String</h2>
<pre>=CHAR(RANDBETWEEN(97,122))</pre>
<p>This will randomly display a letter between a-z.</p>
<h2>Generate Random Symbol String</h2>
<pre>=CHAR(RANDBETWEEN(33,47))</pre>
<p>This will randomly generate one of the following symbols: !&#8221;#$%&amp;'()*+,-./</p>
<p>*Note: the CHAR() formula in Excel will generate a lot of other symbols as well. However, if the purpose is to create a password that someone may have to type on their keyboard, you want to keep it simple and avoid symbols like ¶, Œ, or ©. While these symbols can be typed with a special combination of keystrokes, it isn&#8217;t likely that someone will want to remember how to type each of these characters.</p>
<h2>Generate a Random Password</h2>
<p>Good passwords tend to have at least eight characters and are a mix of uppercase letters, lowercase letters, numbers, and symbols. To do this, simply combine the above formulas into one formula by simply adding an ampersand (&#038;) in between each formula, like this:<br />
<code style="word-wrap: break-word;">=RANDBETWEEN(0,9)&CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(97,122))&CHAR(RANDBETWEEN(33,47))&RANDBETWEEN(0,9)&CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(97,122))&CHAR(RANDBETWEEN(33,47))</code>[/restrict]<br />
This would create something like 6Ib&#038;4Rj/ or 8Bs%3Xa+</p>
<p>You can have any combination of letters, numbers or symbols that you want by moving the formulas around. There&#8217;s also nothing saying you couldn&#8217;t have a longer password string by chaining on even more randomness to the formula.</p>
<p><strong>A word of caution!</strong> If you are using this to generate a list of passwords, for example, be aware that the list will automatically change every time you refresh your worksheet, or change the value of a cell, etc. To ensure you don&#8217;t lose these values once they&#8217;re created, select the list of random passwords, copy and paste them as <strong>values</strong>. This will prevent them from updating again.</p>
<p>Another thing to consider is that if you need to make sure that all values are unique, this method isn&#8217;t foolproof. While it may not be likely that you will get the same string more than once, it certainly is possible. One easy way to check for duplicates is to use Conditional Formatting on the list of cells. First, select all the cells where you will generate random character strings. Then on the Home tab, Styles group select Conditional Formatting > Highlight Cells Rules > Duplicate Values. In the first drop-down make sure &#8220;Duplicate&#8221; is selected, then choose a format in the drop-down. Click OK.</p>
<p>As your passwords are generated it will check for duplicates and highlight any that show up. I used this method on a quick test by copying the formula above down the entire column A (over 1 million random strings), and there were duplicates. </p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/generate-a-random-character-string/">Generate Random Character String</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/generate-a-random-character-string/feed/</wfw:commentRss>
			<slash:comments>15</slash:comments>
		
		
			</item>
		<item>
		<title>Random Numbers in Excel</title>
		<link>https://excelzoom.com/random-numbers-in-excel/</link>
					<comments>https://excelzoom.com/random-numbers-in-excel/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Wed, 04 Feb 2009 23:20:29 +0000</pubDate>
				<category><![CDATA[Macros]]></category>
		<category><![CDATA[Random]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=33</guid>

					<description><![CDATA[<p>Sometimes it is useful to be able to generate random numbers in Excel that are limited to a certain range. Maybe you have an &#8220;employee of the month&#8221; contest and you just can&#8217;t pick one. Assign a number to each employee, enter the first and last numbers and run the macro. And who said decision [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/random-numbers-in-excel/">Random Numbers in Excel</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes it is useful to be able to generate random numbers in Excel that are limited to a certain range.</p>
<p>Maybe you have an &#8220;employee of the month&#8221; contest and you just can&#8217;t pick one. Assign a number to each employee, enter the first and last numbers and run the macro. And who said decision making was difficult!<br />
<br />
Or, on the serious side you could be doing some testing that requires a random number to fall within a certain range. You can select as many cells as you wish to populate with a random number, and each one will be assigned a truly random numbers. (i.e. All numbers within the range have the ability to be repeated).</p>
<p>Copy all of the code below. Paste it into your workbook&#8217;s Visual Basic editor, either under a Microsoft Excel Object or Module. The only two spots you&#8217;ll need to change are the numbers 1 and 200 after &#8220;Lowest =&#8221; and &#8220;Highest =&#8221;. Replace these values with whatever high/low values you wish to use.</p>
<p>Need help? Use our <a href="https://excelzoom.com/?p=7">nifty guide</a> to help figure out how to install and use your macros.<br />
</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/random-numbers-in-excel/">Random Numbers in Excel</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/random-numbers-in-excel/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
