<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Pick 4 Permutations In Excel</title>
		<link>/blogentry/29666</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/29666" rel="self" type="application/rss+xml" />
		<description>johnph77's Blog: Pick 4 Permutations In Excel</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Original Blog Entry: Pick 4 Permutations In Excel</title>
			<link>/blogentry/29666</link>
			<guid isPermaLink="true">/blogentry/29666</guid>
			<pubDate>Sun, 10 May 2009 04:53:13 GMT</pubDate>
			<dc:creator>johnph77</dc:creator>
			<description><![CDATA[<p>Stumbled across a question in the Pick 4 Forum the other day about inputting a 4-digit number in Excel and having the spreadsheet return all possible 24 permutations. I answered it but it was a PITA to formulate and edit my response. I thought about it for a while and came up with an easier way to construct the formulas. The Excel output is still the same no matter whether the formulas in my response in the Pick 4 Forum are used or copied from this entry. Here goes:<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,3,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,4,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,2,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,4,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,2,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,1,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,3,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,3,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,4,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,1,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,4,1)*10)+(MID(A1,1,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,1,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,2,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,3,1)*10)+(MID(A1,1,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,2,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,4,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,1,1)*10)+(MID(A1,4,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,4,1)*10)+(MID(A1,1,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,1,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,3,1)*1000)+(MID(A1,4,1)*100)+(MID(A1,2,1)*10)+(MID(A1,1,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,2,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,1,1)*100)+(MID(A1,3,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,1,1)*10)+(MID(A1,3,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,2,1)*100)+(MID(A1,3,1)*10)+(MID(A1,1,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,1,1)*10)+(MID(A1,2,1)*1)<br /><br />=(MID(A1,4,1)*1000)+(MID(A1,3,1)*100)+(MID(A1,2,1)*10)+(MID(A1,1,1)*1)<br /><br />Enter each formula into individual spreadsheet cells where you would like to view each permutation.<br /><br />The response in the Forum took about an hour to edit properly, the above was done in about 10 minutes in a text editor.<br /><br />The formulas assume your initial 4-digit entry will be in Cell A1; if in any other place, the formula where A1 appears will need to be edited to your preferred entry location. The results of these formulas will be numeric - if text results are desired one may eliminate the *1000 , *100 , *10 and *1 portions of the formulas along with the outermost set of parentheses in each part of the formula - example:<br /><br />=MID(A1,1,1)+MID(A1,2,1)+MID(A1,3,1)+MID(A1,4,1)<br /><br />gl<br /><br />... &#x5b;&#xa0;<a href="/blogentry/29666">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>johnph77</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/29666</wfw:comment>
		</item>
	</channel>
</rss>

