<?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>Month Archives - Excel Zoom</title>
	<atom:link href="https://excelzoom.com/tag/month/feed/" rel="self" type="application/rss+xml" />
	<link>https://excelzoom.com/tag/month/</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Tue, 14 Oct 2014 22:23:51 +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>Month Archives - Excel Zoom</title>
	<link>https://excelzoom.com/tag/month/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Sum Values In A Month</title>
		<link>https://excelzoom.com/sum-values-month/</link>
					<comments>https://excelzoom.com/sum-values-month/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Tue, 14 Oct 2014 22:23:51 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[Month]]></category>
		<category><![CDATA[Sum]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=651</guid>

					<description><![CDATA[<p>Sometimes we get data in Excel that makes it somewhat difficult to look at the big picture. For example, you might get a list of transactions with a date and sale price. Let&#8217;s say you need to sum values in a month to use in some other analysis. With that example, it isn&#8217;t easy to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/sum-values-month/">Sum Values In A Month</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes we get data in Excel that makes it somewhat difficult to look at the big picture. For example, you might get a list of transactions with a date and sale price. Let&#8217;s say you need to sum values in a month to use in some other analysis.</p>
<p>With that example, it isn&#8217;t easy to just look at the data and know that the first 10 rows are January&#8217;s transactions, the next 12 are February&#8217;s, etc. Analyzing the data could be even harder if all the transactions are out of order. However it isn&#8217;t terribly difficult to get a sum of values in a month.</p>
<h2>Sum Values In A Month</h2>

<p>Let&#8217;s look at a simple example with two transactions per month for January, February, and March.</p>
<p>We are given the date of the transaction and the transaction amount but also want to find out the monthly totals. Now keep in mind that this is a simple example, but imagine if there were instead hundreds of transactions that need to be added up, the task could be much more difficult.</p>

<p>We will be using two formulas to get our answer: SUMPRODUCT and MONTH.</p>
<p>MONTH will produce a number between 1 (January) &#8211; 12 (December) given a particular date. For example, =MONTH(1/15/2014) will give a result of 1, because this date is in January.</p>
<p>SUMPRODUCT returns the sum of the products of a given range.</p>
<p>When we combine the two, we can use them to sum values in a month.</p>
<p>First set up your spreadsheet like in the screenshot above. Enter dates in A2:A7, dollar amounts in B2:B7, the numbers 1, 2, and 3 (for months January through March) in cells D2, D3, and D4 respectively. Finally, enter the following formula in cell E2:</p>
<p><code>=SUMPRODUCT((MONTH($A$2:$A$7)=D2)*($B$2:$B$7))</code></p>
<p>Then copy the formula down to E3 and E4.</p>
<p>Your spreadsheet should now have monthly totals for January, February, and March.</p>
<p>Obviously, in your actual worksheet you will replace the cell references with the applicable cells that you are working with. If you have a set of data that may encompass a variable number of rows (i.e. past row 7 in our example), you can replace $A$2:$A$7 and $B$2:$B$7 with A:A and B:B, which will use the entire column. However, please note that any errant text like a header row will cause an error in the formula.</p>
<p>You can also sum values in a year by replacing MONTH in the formula with YEAR, and replacing the numbers 1-3 in cells D2:D4 with years such as 2014, 2015, 2016, etc.</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/sum-values-month/">Sum Values In A Month</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/sum-values-month/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
	</channel>
</rss>
