<?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>Excel question - I&#x27;m stuck</title>
		<link>https://www.lotterypost.com/thread/177995</link>
		<atom:link href="https://www.lotterypost.com/rss/topic/177995" rel="self" type="application/rss+xml" />
		<description>Lottery Post Forum Topic: Excel question - I&#x27;m stuck</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Reply #6</title>
			<link>https://www.lotterypost.com/thread/177995/1075781</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075781</guid>
			<pubDate>Sun, 13 Jul 2008 14:45:59 GMT</pubDate>
			<dc:creator>Bandito</dc:creator>
			<description><![CDATA[<p>Thanks time*treat, that did it... and thanks to everyone who offered help.. appreciate it.</p>]]></description>
			<category>Bandito</category>
		</item>
		<item>
			<title>Reply #5</title>
			<link>https://www.lotterypost.com/thread/177995/1075647</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075647</guid>
			<pubDate>Sun, 13 Jul 2008 08:55:28 GMT</pubDate>
			<dc:creator>time*treat</dc:creator>
			<description><![CDATA[<p>...slight variation of WSLS&#x27;s work (this is good unless you&#x27;re adding the digits of excessively large numbers...)<br /><br />Function SumDigits(Number)<br /><br />Dim i As Integer, fake__sum As Integer<br /><br />While Number 9<br /><br />fake__sum = 0<br /><br />For i = 1 To Len(Number)<br /><br />fake__sum = fake__sum + Val(Mid(Number, i, 1))<br /><br />Next i<br /><br />Number = fake__sum<br /><br />Wend<br /><br />SumDigits = fake__sum<br /><br />End Function<br /><br />to use, type in =SumDigits(number) in any cell, or call from other precedures.</p>]]></description>
			<category>time*treat</category>
		</item>
		<item>
			<title>Reply #4</title>
			<link>https://www.lotterypost.com/thread/177995/1075633</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075633</guid>
			<pubDate>Sun, 13 Jul 2008 05:54:29 GMT</pubDate>
			<dc:creator>Texas MadMan</dc:creator>
			<description><![CDATA[<p>Just use any of the above suggestions to create a total for cell A1 in cell B1, then use it again to total cell B1 and put that in cell C1 (or whatever format works for you) If you don&#x27;t want to see the intermediate values you can hide those columns.</p>]]></description>
			<category>Texas MadMan</category>
		</item>
		<item>
			<title>Reply #3</title>
			<link>https://www.lotterypost.com/thread/177995/1075628</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075628</guid>
			<pubDate>Sun, 13 Jul 2008 05:36:56 GMT</pubDate>
			<dc:creator>lottogg</dc:creator>
			<description><![CDATA[<p>click on cell you want total value in and enter this command =sum(9,5) for every additional number in cell just add a comma between them.</p>]]></description>
			<category>lottogg</category>
		</item>
		<item>
			<title>Reply #2</title>
			<link>https://www.lotterypost.com/thread/177995/1075603</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075603</guid>
			<pubDate>Sun, 13 Jul 2008 03:53:54 GMT</pubDate>
			<dc:creator>Bandito</dc:creator>
			<description><![CDATA[<p>Thanks winsumloosesum, that works but it dosen&#x27;t do exactly what I&#x27;m looking for..<br /><br />for example, I enter the VB formula (Sumdigits) into my spreadsheet and it adds the digits<br /><br />in the cell. Say I have 95 in A1.. the formula does return 14. But I&#x27;m looking for a formula which would<br /><br />return 5... 9+5=14, then adding 1+4 to get 5. Looking for a single formula which would do this???<br /><br />Thanks,<br /><br />Bandito.</p>]]></description>
			<category>Bandito</category>
		</item>
		<item>
			<title>Reply #1</title>
			<link>https://www.lotterypost.com/thread/177995/1075602</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995/1075602</guid>
			<pubDate>Sun, 13 Jul 2008 03:40:44 GMT</pubDate>
			<dc:creator>winsumloosesum</dc:creator>
			<description><![CDATA[<p>Bandito,<br /><br />Try this:<br /><br />Open Excel<br /><br />Press Alt+F11 to open Visual Basic Editor (VBE). From the Insert menu, select Module (to add a module). Copy and Paste the following lines of code into the module (Blank box on the right side):<br /><br />Function SumDigits(Number)<br /><br />Dim i As Integer<br /><br />For i = 1 To Len(Number)<br /><br />SumDigits = SumDigits + Val(Mid(Number, i, 1))<br /><br />Next i<br /><br />End Function<br /><br />Close the Visual Basic Editor.<br /><br />To test the function:<br /><br />To test the function, open Paste Functio... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/177995/1075602">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>winsumloosesum</category>
		</item>
		<item>
			<title>Excel question - I&#x27;m stuck</title>
			<link>https://www.lotterypost.com/thread/177995</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/177995</guid>
			<pubDate>Sun, 13 Jul 2008 01:55:45 GMT</pubDate>
			<dc:creator>Bandito</dc:creator>
			<description><![CDATA[<p>Hey everyone,<br /><br />Newbie here to the forum.. I am stuck on a Excel problem. I have read the posts and see that Rakster has some similar questions on this topic, I tried the suggestions he was offered.. they work to a degree but not to the level I need.. here is my problem:<br /><br />I would like to add the digits of a two or three digit number within a cell... for example:<br /><br />a two digit number say 94 in A1.. those two digits added together, 9+4=13. I would like to further add<br /><br />13, 1+3=4.. Same f... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/177995">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Bandito</category>
		</item>
	</channel>
</rss>

