<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Get Digital Help</title>
	
	<link>http://www.get-digital-help.com</link>
	<description>Quality excel resource</description>
	<lastBuildDate>Fri, 10 Sep 2010 09:13:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/GetDigitalHelp" /><feedburner:info uri="getdigitalhelp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>GetDigitalHelp</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/GetDigitalHelp" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>User defined function to split words in a cell range into a cell each in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/KBMojNIYvZw/</link>
		<comments>http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 07:20:49 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4843</guid>
		<description><![CDATA[This post describes how to split words in a cell range into a cell each using a custom function. I hope this picture explains it all: The cell range is A1:A10 and contain words. The array formula in C2 contains an udf: SplitWords($A$1:$A$10) + CTRL + SHIFT + ENTER. Copy cell C2 and paste it [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/03/18/calculate-your-stock-portfolio-performance-in-excel/' rel='bookmark' title='Permanent Link: Calculate your stock portfolio performance in excel'>Calculate your stock portfolio performance in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/26/sum-values-in-a-range-where-adjacent-cell-value-equals-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Sum values in a range where adjacent cell value equals a criterion in excel'>Sum values in a range where adjacent cell value equals a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/03/split-data-across-multiple-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Split data across multiple sheets in excel (vba)'>Split data across multiple sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/30/stock-alerts-in-excel/' rel='bookmark' title='Permanent Link: Stock alerts in excel'>Stock alerts in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/01/create-a-monthly-date-range-in-excel/' rel='bookmark' title='Permanent Link: Create a monthly date range in excel'>Create a monthly date range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/02/create-a-quartely-date-range-in-excel/' rel='bookmark' title='Permanent Link: Create a quartely date range in excel'>Create a quartely date range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/' rel='bookmark' title='Permanent Link: Concatenate cell values in excel'>Concatenate cell values in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This post describes how to split words in a cell range into a cell each using a custom function. I hope this picture explains it all:</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Split-words-in-a-cell-range.png"><img class="alignnone size-full wp-image-4846" title="Split words in a cell range" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Split-words-in-a-cell-range.png" alt="" width="303" height="581" /></a></p>
<p>The cell range is A1:A10 and contain words.</p>
<h3><strong>The array formula in C2 contains an udf:</strong></h3>
<p>SplitWords($A$1:$A$10) + CTRL + SHIFT + ENTER. Copy cell C2 and paste it down as far as needed.</p>
<h3><strong>User defined function:</strong></h3>
<table border="0" cellpadding="10" bgcolor="#d0d0d0">
<tbody>
<tr>
<td width="300">
<pre style="text-align: left;">
<pre>Option Explicit

Function SplitWords(rng As Range) As Variant()

Dim x As Variant

Dim Wrds() As Variant

Dim Cells_row As Long

Dim Cells_col As Long

Dim Words As Long

Dim y() As Variant

ReDim y(0)

Wrds = rng.Value

 For Cells_row = LBound(Wrds, 1) To UBound(Wrds, 1)

  For Cells_col = LBound(Wrds, 2) To UBound(Wrds, 2)

   x = Split(Wrds(Cells_row, Cells_col))

   For Words = LBound(x) To UBound(x)

    y(UBound(y)) = x(Words)

    ReDim Preserve y(UBound(y) + 1)

   Next Words

  Next Cells_col

 Next Cells_row

SplitWords = Application.Transpose(y)

End Function</pre>
</pre>
</td>
</tr>
</tbody>
</table>
<h3><strong>How to use this user defined custom excel function</strong></h3>
<ol>
<li>Click "Developer" tab on the ribbon<br />
<a href="http://www.get-digital-help.com/2009/04/27/how-to-create-excel-macro-to-color-every-second-row/">How to enable developer tab on the ribbon</a></li>
<li>Click "Visual Basic" button</li>
<li>Insert a new module</li>
<li>Copy this udf example and paste it into new module</li>
<li>Select a sheet</li>
<li>Use udf in a cell, example SplitWords($A$1:$A$10) + CTRL + SHIFT + ENTER</li>
</ol>
<h3><strong>Download excel file</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/extract-words-from-a-range-udf.xls"> extract words from a range udf.xls</a><br />
(Excel 97-2003  Workbook *.xls)</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;title=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel&amp;bodytext=This%20post%20describes%20how%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20using%20a%20custom%20function.%20I%20hope%20this%20picture%20explains%20it%20all%3A%0D%0A%0D%0A%0D%0A%0D%0AThe%20cell%20range%20is%20A1%3AA10%20and%20contain%20words.%0D%0AThe%20array%20formula%20in%20C2%20contains%20an%20udf%3A%0D%0ASplitWords%28%24A%241%3A%24A%2410%29" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;title=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel&amp;notes=This%20post%20describes%20how%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20using%20a%20custom%20function.%20I%20hope%20this%20picture%20explains%20it%20all%3A%0D%0A%0D%0A%0D%0A%0D%0AThe%20cell%20range%20is%20A1%3AA10%20and%20contain%20words.%0D%0AThe%20array%20formula%20in%20C2%20contains%20an%20udf%3A%0D%0ASplitWords%28%24A%241%3A%24A%2410%29" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;title=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;t=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;title=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel&amp;annotation=This%20post%20describes%20how%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20using%20a%20custom%20function.%20I%20hope%20this%20picture%20explains%20it%20all%3A%0D%0A%0D%0A%0D%0A%0D%0AThe%20cell%20range%20is%20A1%3AA10%20and%20contain%20words.%0D%0AThe%20array%20formula%20in%20C2%20contains%20an%20udf%3A%0D%0ASplitWords%28%24A%241%3A%24A%2410%29" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F10%2Fuser-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel%2F&amp;linkname=User%20defined%20function%20to%20split%20words%20in%20a%20cell%20range%20into%20a%20cell%20each%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/03/18/calculate-your-stock-portfolio-performance-in-excel/' rel='bookmark' title='Permanent Link: Calculate your stock portfolio performance in excel'>Calculate your stock portfolio performance in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/26/sum-values-in-a-range-where-adjacent-cell-value-equals-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Sum values in a range where adjacent cell value equals a criterion in excel'>Sum values in a range where adjacent cell value equals a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/03/split-data-across-multiple-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Split data across multiple sheets in excel (vba)'>Split data across multiple sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/30/stock-alerts-in-excel/' rel='bookmark' title='Permanent Link: Stock alerts in excel'>Stock alerts in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/01/create-a-monthly-date-range-in-excel/' rel='bookmark' title='Permanent Link: Create a monthly date range in excel'>Create a monthly date range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/02/create-a-quartely-date-range-in-excel/' rel='bookmark' title='Permanent Link: Create a quartely date range in excel'>Create a quartely date range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/' rel='bookmark' title='Permanent Link: Concatenate cell values in excel'>Concatenate cell values in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/KBMojNIYvZw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/</feedburner:origLink></item>
		<item>
		<title>Consolidate sheets in excel, part 2</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/G7h3q2QR2uk/</link>
		<comments>http://www.get-digital-help.com/2010/09/06/consolidate-sheets-in-excel-part-2/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 21:05:06 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4835</guid>
		<description><![CDATA[Neville Ash asks in this post: Consolidate sheets in excel (vba) I have down loaded the consolidated file and it does not appear to work the way I expected. I am looking to combine cashflow worksheets for multiple projects. The row headings are the same for each project but the column heading varies (they are [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/03/29/consolidate-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Consolidate sheets in excel (vba)'>Consolidate sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/03/split-data-across-multiple-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Split data across multiple sheets in excel (vba)'>Split data across multiple sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/10/categorize-values-into-multiple-columns-using-vba-in-excel/' rel='bookmark' title='Permanent Link: Categorize values into multiple columns using vba in excel'>Categorize values into multiple columns using vba in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/22/automate-net-asset-value-nav-calculation-on-your-stock-portfolio-vba-in-excel/' rel='bookmark' title='Permanent Link: Automate net asset value (NAV) calculation on your stock portfolio (vba) in excel'>Automate net asset value (NAV) calculation on your stock portfolio (vba) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/28/combine-data-from-multiple-sheets-in-excel/' rel='bookmark' title='Permanent Link: Combine data from multiple sheets in excel'>Combine data from multiple sheets in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/07/scan-stock-markets-in-excel/' rel='bookmark' title='Permanent Link: Scan stock markets in excel'>Scan stock markets in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/07/count-unique-distinct-numbers-across-multiple-sheets-3d-range-in-excel/' rel='bookmark' title='Permanent Link: Count unique distinct numbers across multiple sheets (3D range) in excel'>Count unique distinct numbers across multiple sheets (3D range) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/04/return-unique-and-duplicate-numerical-data-entries-from-multiple-sheets-3d-range-in-excel/' rel='bookmark' title='Permanent Link: Return unique and duplicate numerical data entries from multiple sheets (3D range) in excel'>Return unique and duplicate numerical data entries from multiple sheets (3D range) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/16/create-a-dynamic-stock-chart-using-a-web-query-and-a-drop-down-list-in-excel/' rel='bookmark' title='Permanent Link: Create a dynamic stock chart using a web query and a drop down list in excel'>Create a dynamic stock chart using a web query and a drop down list in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Neville Ash asks in this post: <a href="../2010/03/29/consolidate-sheets-in-excel-vba/">Consolidate  sheets in excel (vba)</a></strong></p>
<p>I have down loaded the consolidated file and it does not appear to  work the way I expected.</p>
<p>I am looking to combine cashflow worksheets for multiple projects.  The row headings are the same for each project but the column heading  varies (they are set as end of month dates)</p>
<p>The issue with normal consolidation is that each sheet has to be  identical. But because each project starts and stops at different months  the consolidation is messy</p>
<p><strong>Answer:</strong></p>
<p>I am not sure I completely understand but I gave it a try.</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/consolidate-sheets2.png"><img class="alignnone size-full wp-image-4836" title="consolidate sheets2" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/consolidate-sheets2.png" alt="" width="514" height="258" /></a></p>
<p>After clicking the "Consolidate Sheets" button:</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/consolidate-sheets3.png"><img class="alignnone size-full wp-image-4837" title="consolidate sheets3" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/consolidate-sheets3.png" alt="" width="467" height="222" /></a></p>
<p><strong>Download excel file</strong></p>
<p><a href="../wp-content/uploads/2010/03/consolidate-sheets2.xls"></a><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Consolidate-sheets-row-headers-the-same.xls">Consolidate-sheets-row headers the same.xls</a></p>
<p>(Excel 97-2003  Workbook *.xls)</p>
<p><strong>Remember to backup your original excel file. You can´t undo a  macro</strong></p>
<p>I do realize this code is not the shortest or the most efficient.</p>
<p><strong>VBA code:</strong></p>
<table border="1" cellpadding="10" bgcolor="#d0d0d0">
<tbody>
<tr>
<td width="300">
<pre style="text-align: left;">Option Explicit

Sub Consolidate()

Application.ScreenUpdating = False

Dim csShts        As Range

Dim clmnheader        As Range

Dim sht As Worksheet

Dim LastCol As Integer

Dim i As Long

Set csShts = Worksheets("Consolidate").Range("A2")

Set clmnheader = Worksheets("Consolidate").Range("B1")

Do While csShts &lt;&gt; ""

    For Each sht In Worksheets

    i = 0

    If sht.Name = csShts Then

        sht.Select

        Range("A1").Select

        Do While Selection &lt;&gt; ""

            Set clmnheader = Worksheets("Consolidate").Range("B1")

            Do While clmnheader &lt;&gt; ""

                If clmnheader.Value = Selection.Value Then

                    'Find last column in row

                    With ActiveSheet

                        LastCol = .Cells(1, .Columns.Count).End(xlToLeft).Column

                    End With

                End If

                    If LastCol &gt; i Then

                        i = LastCol

                    End If

                Set clmnheader = clmnheader.Offset(1, 0)

            Loop

        ActiveCell.Offset(1, 0).Select

        Loop

        sht.Select

        Range("A1").Select

        Set clmnheader = Worksheets("Consolidate").Range("B1")

        Do While Selection &lt;&gt; ""

            Set clmnheader = Worksheets("Consolidate").Range("B1")

            Do While clmnheader &lt;&gt; ""

                If clmnheader.Value = Selection.Value Then

                    Set clmnheader = clmnheader.Offset(0, 1)

                    'Copy range

                    Do While Selection.Column &lt;= i

                        ActiveCell.Offset(0, 1).Select

                        Selection.Copy

                        clmnheader.Insert Shift:=xlToRight

                    Loop

                    ActiveCell.Offset(0, -i).Select

                    Set clmnheader = clmnheader.Offset(0, -i)

                End If

                Set clmnheader = clmnheader.Offset(1, 0)

            Loop

        ActiveCell.Offset(1, 0).Select

        Loop

    End If

    Next sht

Set csShts = csShts.Offset(1, 0)

Loop

Sheets("Consolidate").Select

End Sub
</pre>
</td>
</tr>
</tbody>
</table>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;title=Consolidate%20sheets%20in%20excel%2C%20part%202&amp;bodytext=Neville%20Ash%20asks%20in%20this%20post%3A%20Consolidate%20%20sheets%20in%20excel%20%28vba%29%0D%0A%0D%0AI%20have%20down%20loaded%20the%20consolidated%20file%20and%20it%20does%20not%20appear%20to%20%20work%20the%20way%20I%20expected.%0D%0A%0D%0AI%20am%20looking%20to%20combine%20cashflow%20worksheets%20for%20multiple%20projects.%20%20The%20row%20headings%20" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;title=Consolidate%20sheets%20in%20excel%2C%20part%202&amp;notes=Neville%20Ash%20asks%20in%20this%20post%3A%20Consolidate%20%20sheets%20in%20excel%20%28vba%29%0D%0A%0D%0AI%20have%20down%20loaded%20the%20consolidated%20file%20and%20it%20does%20not%20appear%20to%20%20work%20the%20way%20I%20expected.%0D%0A%0D%0AI%20am%20looking%20to%20combine%20cashflow%20worksheets%20for%20multiple%20projects.%20%20The%20row%20headings%20" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;title=Consolidate%20sheets%20in%20excel%2C%20part%202" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Consolidate%20sheets%20in%20excel%2C%20part%202%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;t=Consolidate%20sheets%20in%20excel%2C%20part%202" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;title=Consolidate%20sheets%20in%20excel%2C%20part%202&amp;annotation=Neville%20Ash%20asks%20in%20this%20post%3A%20Consolidate%20%20sheets%20in%20excel%20%28vba%29%0D%0A%0D%0AI%20have%20down%20loaded%20the%20consolidated%20file%20and%20it%20does%20not%20appear%20to%20%20work%20the%20way%20I%20expected.%0D%0A%0D%0AI%20am%20looking%20to%20combine%20cashflow%20worksheets%20for%20multiple%20projects.%20%20The%20row%20headings%20" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Consolidate%20sheets%20in%20excel%2C%20part%202&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F06%2Fconsolidate-sheets-in-excel-part-2%2F&amp;linkname=Consolidate%20sheets%20in%20excel%2C%20part%202"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/03/29/consolidate-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Consolidate sheets in excel (vba)'>Consolidate sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/03/split-data-across-multiple-sheets-in-excel-vba/' rel='bookmark' title='Permanent Link: Split data across multiple sheets in excel (vba)'>Split data across multiple sheets in excel (vba)</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/10/categorize-values-into-multiple-columns-using-vba-in-excel/' rel='bookmark' title='Permanent Link: Categorize values into multiple columns using vba in excel'>Categorize values into multiple columns using vba in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/22/automate-net-asset-value-nav-calculation-on-your-stock-portfolio-vba-in-excel/' rel='bookmark' title='Permanent Link: Automate net asset value (NAV) calculation on your stock portfolio (vba) in excel'>Automate net asset value (NAV) calculation on your stock portfolio (vba) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/28/combine-data-from-multiple-sheets-in-excel/' rel='bookmark' title='Permanent Link: Combine data from multiple sheets in excel'>Combine data from multiple sheets in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/07/scan-stock-markets-in-excel/' rel='bookmark' title='Permanent Link: Scan stock markets in excel'>Scan stock markets in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/07/count-unique-distinct-numbers-across-multiple-sheets-3d-range-in-excel/' rel='bookmark' title='Permanent Link: Count unique distinct numbers across multiple sheets (3D range) in excel'>Count unique distinct numbers across multiple sheets (3D range) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/03/04/return-unique-and-duplicate-numerical-data-entries-from-multiple-sheets-3d-range-in-excel/' rel='bookmark' title='Permanent Link: Return unique and duplicate numerical data entries from multiple sheets (3D range) in excel'>Return unique and duplicate numerical data entries from multiple sheets (3D range) in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/16/create-a-dynamic-stock-chart-using-a-web-query-and-a-drop-down-list-in-excel/' rel='bookmark' title='Permanent Link: Create a dynamic stock chart using a web query and a drop down list in excel'>Create a dynamic stock chart using a web query and a drop down list in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/G7h3q2QR2uk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/09/06/consolidate-sheets-in-excel-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/09/06/consolidate-sheets-in-excel-part-2/</feedburner:origLink></item>
		<item>
		<title>Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/2gm64FIsQaY/</link>
		<comments>http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 20:53:13 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4807</guid>
		<description><![CDATA[Anura asks: I have a list of credit card transactions showing the name of the card holder, their Branch and the amount. I want to produce a report for each Branch, so what I want is to extract only those people who match the Branch name. For example: Frank Branch A Frank Branch A Frank [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/09/01/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel'>Extract a unique distinct list by matching items that meet a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/17/create-dependent-drop-down-lists-containing-unique-distinct-values-in-excel/' rel='bookmark' title='Permanent Link: Create dependent drop down lists containing unique distinct values in excel'>Create dependent drop down lists containing unique distinct values in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/21/dynamic-stock-chart-in-excel-add-date-ranges/' rel='bookmark' title='Permanent Link: Dynamic stock chart in excel &#8211; Add date ranges'>Dynamic stock chart in excel &#8211; Add date ranges</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/28/extract-all-rows-from-a-range-that-meet-criteria-in-one-column-in-excel/' rel='bookmark' title='Permanent Link: Extract all rows from a range that meet criteria in one column in excel'>Extract all rows from a range that meet criteria in one column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/14/filter-unique-distinct-text-values-using-begins-with-criterion-in-a-range-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel'>Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/16/extract-a-unique-distinct-list-sorted-alphabetically-removing-blanks-from-a-range-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list sorted alphabetically removing blanks from a range in excel'>Extract a unique distinct list sorted alphabetically removing blanks from a range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/16/create-a-dynamic-stock-chart-using-a-web-query-and-a-drop-down-list-in-excel/' rel='bookmark' title='Permanent Link: Create a dynamic stock chart using a web query and a drop down list in excel'>Create a dynamic stock chart using a web query and a drop down list in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/22/how-to-return-the-total-for-orders-with-more-than-one-item-in-excel/' rel='bookmark' title='Permanent Link: How to return the total for orders with more than one item in excel'>How to return the total for orders with more than one item in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Anura asks:</strong></p>
<p>I have a list of credit card transactions showing the name of the   card holder, their Branch and the amount. I want to produce a report for   each Branch, so what I want is to extract only those people who match   the Branch name. For example:</p>
<p>Frank   Branch A<br />
Frank   Branch A<br />
Frank   Branch A<br />
Joe     Branch A<br />
Mary    Branch B<br />
Jane    Branch C<br />
Mike    Branch A<br />
Joe     Branch A<br />
Dave    Branch C</p>
<p>I would like a list of only those people for Branch A, and then be   able to summarise the transactions. Or should I do this in two stages?</p>
<p>How can I count the number of transactions per person?</p>
<p><strong>Answer:</strong></p>
<p><strong><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_2-.png"><img class="alignnone size-full wp-image-4810" title="Extract a unique distinct list by matching items that meet a criterion_2" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_2-.png" alt="" width="259" height="260" /></a><br />
</strong></p>
<p>First create a named dynamic range. If you add new values to your list the named range expands. This makes it easy to update your pivot table with newly added values. Then create a pivot table.</p>
<h3><strong>How to create a dynamic named range</strong></h3>
<p>This dynamic range formula adds both new columns and rows<strong>.<br />
</strong></p>
<ol>
<li>Click "Formula" tab on the ribbon</li>
<li>Click "Name Manager"</li>
<li>Click "New"</li>
<li>Type a name for the range, I named it "table"</li>
<li>Type this formula into "Refers to:" field:=OFFSET(Table!$A$1, 0, 0, COUNTA(Table!$A:$A), COUNTA(Table!$1:$1))<br />
<a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_5-.png"><img class="alignnone size-full wp-image-4815" title="Extract a unique distinct list by matching items that meet a criterion_5" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_5-.png" alt="" width="649" height="469" /><br />
</a></li>
<li>Click OK</li>
</ol>
<h3><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_2-1.png"><img class="alignnone size-full wp-image-4817" title="Extract a unique distinct list by matching items that  meet a criterion_2" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_2-1.png" alt="" width="259" height="260" /></a></h3>
<p>The above table has the cell range $A$1:$C$11.</p>
<p>The dynamic range formula =OFFSET(Table!$A$1, 0, 0, COUNTA(Table!$A:$A), COUNTA(Table!$1:$1)) returns the same cell reference $A$1:$C$11.</p>
<h3><strong><strong>How to cre</strong></strong><strong><strong>ate a pivot table in excel 2007</strong></strong></h3>
<ol>
<li>Select cell range A1:C11</li>
<li>Click "Insert" tab on the ribbon</li>
<li>Click "Pivot table" button
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_6-.png"><img class="alignnone size-full wp-image-4819" title="Extract a unique distinct list by matching items that meet a criterion_6" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_6-.png" alt="" width="399" height="289" /></a></li>
<li>Type "table" in "Table/Range:" field</li>
<li>Select where you want the pivot table to be placed</li>
<li>Click OK</li>
</ol>
<p>I placed the pivot table on a new sheet.</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_8-.png"><img class="alignnone size-full wp-image-4821" title="Extract a unique distinct list by matching items that meet a criterion_8" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_8-.png" alt="" width="785" height="465" /></a></p>
<ol>
<li>Drag and drop "<strong>Name</strong>" to "<strong>Drop Row Fields Here</strong>"</li>
<li>Drag and drop "<strong>Branch</strong>" to "<strong>Drop Column Fields Here</strong>"</li>
<li>Drag and drop "<strong>Amount</strong>" to "<strong>Drop Column Fields Here</strong>"</li>
</ol>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_9-.png"><img class="alignnone size-full wp-image-4822" title="Extract a unique distinct list by matching items that meet a criterion_9" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_9-.png" alt="" width="417" height="259" /></a></p>
<h3><strong><strong>How to cre</strong></strong><strong><strong>ate a list of unique distinct values for branch A</strong></strong></h3>
<ol>
<li>Click Branch arrow<br />
<a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_9-1.png"><img class="alignnone size-full wp-image-4824" title="Extract a unique distinct list by matching items that meet a criterion_9" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_9-1.png" alt="" width="460" height="462" /><br />
</a></li>
<li>Deselect all but Branch A</li>
<li>Click OK!</li>
</ol>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_10-.png"><img class="alignnone size-full wp-image-4825" title="Extract a unique distinct list by matching items that meet a criterion_10" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_10-.png" alt="" width="292" height="201" /></a></p>
<h3>How to count the number of transactions per person</h3>
<p>Drag and drop "Name" into "Values". See picture below.</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_11-.png"><img class="alignnone size-full wp-image-4827" title="Extract a unique distinct list by matching items that meet a criterion_11" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion_11-.png" alt="" width="699" height="331" /></a></p>
<h3><strong><strong>How to update pivot table with new values</strong></strong></h3>
<ol>
<li>Add more values to table</li>
<li>Right click Pivot table</li>
<li>Click "Refresh"</li>
</ol>
<h3><strong>Download excel sample file for this tutorial.</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/unique-distinct-list-matching-criteria-pivot-table.xls">unique-distinct-list-matching-criteria-pivot table.xls</a><br />
(Excel 97-2003 Workbook *.xls)</p>
<h3><strong><strong>Functions in this article:</strong></strong></h3>
<p><strong>OFFSET(</strong>reference,rows,cols,  [height],[width]<strong>)</strong><br />
Returns a reference to a range that is a  given number of rows and  columns from a given reference</p>
<p><strong>COUNTA(</strong>value1,[value2]<strong>,)<br />
</strong>Counts the number  of cells in a range that are not empty</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table&amp;bodytext=Anura%20asks%3A%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20%20each%20Branch%2C%20so%20what%20I%20want%20is%20to%20extract%20only%20those%20people%20who%20match%20%20%20the%20Branch%20name.%20For" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table&amp;notes=Anura%20asks%3A%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20%20each%20Branch%2C%20so%20what%20I%20want%20is%20to%20extract%20only%20those%20people%20who%20match%20%20%20the%20Branch%20name.%20For" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;t=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table&amp;annotation=Anura%20asks%3A%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20%20each%20Branch%2C%20so%20what%20I%20want%20is%20to%20extract%20only%20those%20people%20who%20match%20%20%20the%20Branch%20name.%20For" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F03%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table%2F&amp;linkname=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%202007%20using%20pivot%20table"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/09/01/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel'>Extract a unique distinct list by matching items that meet a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/17/create-dependent-drop-down-lists-containing-unique-distinct-values-in-excel/' rel='bookmark' title='Permanent Link: Create dependent drop down lists containing unique distinct values in excel'>Create dependent drop down lists containing unique distinct values in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/21/dynamic-stock-chart-in-excel-add-date-ranges/' rel='bookmark' title='Permanent Link: Dynamic stock chart in excel &#8211; Add date ranges'>Dynamic stock chart in excel &#8211; Add date ranges</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/28/extract-all-rows-from-a-range-that-meet-criteria-in-one-column-in-excel/' rel='bookmark' title='Permanent Link: Extract all rows from a range that meet criteria in one column in excel'>Extract all rows from a range that meet criteria in one column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/14/filter-unique-distinct-text-values-using-begins-with-criterion-in-a-range-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel'>Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/16/extract-a-unique-distinct-list-sorted-alphabetically-removing-blanks-from-a-range-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list sorted alphabetically removing blanks from a range in excel'>Extract a unique distinct list sorted alphabetically removing blanks from a range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/02/16/create-a-dynamic-stock-chart-using-a-web-query-and-a-drop-down-list-in-excel/' rel='bookmark' title='Permanent Link: Create a dynamic stock chart using a web query and a drop down list in excel'>Create a dynamic stock chart using a web query and a drop down list in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/22/how-to-return-the-total-for-orders-with-more-than-one-item-in-excel/' rel='bookmark' title='Permanent Link: How to return the total for orders with more than one item in excel'>How to return the total for orders with more than one item in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/2gm64FIsQaY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/</feedburner:origLink></item>
		<item>
		<title>Extract a unique distinct list by matching items that meet a criterion in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/M16qf8jbo2o/</link>
		<comments>http://www.get-digital-help.com/2010/09/01/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 21:14:12 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4800</guid>
		<description><![CDATA[Anura asks: Is it possible to extend this by matching items that meet a criteria? I have a list of credit card transactions showing the name of the card holder, their Branch and the amount. I want to produce a report for each Branch, so what I want is to extract only those people who [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table'>Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/14/filter-unique-distinct-text-values-using-begins-with-criterion-in-a-range-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel'>Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/16/extract-a-unique-distinct-list-sorted-alphabetically-removing-blanks-from-a-range-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list sorted alphabetically removing blanks from a range in excel'>Extract a unique distinct list sorted alphabetically removing blanks from a range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/30/validate-unique-distinct-list-in-excel/' rel='bookmark' title='Permanent Link: Validate unique distinct list in excel'>Validate unique distinct list in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/24/unique-distinct-list-sorted-based-on-occurrance-in-a-column-in-excel/' rel='bookmark' title='Permanent Link: Unique distinct list sorted based on occurrance in a column in excel'>Unique distinct list sorted based on occurrance in a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/11/create-a-unique-distinct-sorted-list-containing-both-numbers-text-removing-blanks-in-excel/' rel='bookmark' title='Permanent Link: Create a unique distinct sorted list containing both numbers text removing blanks in excel'>Create a unique distinct sorted list containing both numbers text removing blanks in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/10/extract-unique-distinct-numbers-from-closed-workbook-in-excel-formula/' rel='bookmark' title='Permanent Link: Extract unique distinct numbers from closed workbook in excel (formula)'>Extract unique distinct numbers from closed workbook in excel (formula)</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/26/create-unique-distinct-list-sorted-based-on-text-length-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Create unique distinct list sorted based on text length using array formula in excel'>Create unique distinct list sorted based on text length using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/04/create-a-unique-distinct-text-list-from-a-range-containing-both-numerical-and-text-values-in-excel/' rel='bookmark' title='Permanent Link: Create a unique distinct text list from a range containing both numerical and text values in excel'>Create a unique distinct text list from a range containing both numerical and text values in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Anura asks:</strong></p>
<p>Is it possible to extend this by matching items that meet a criteria?</p>
<p>I have a list of credit card transactions showing the name of the  card holder, their Branch and the amount. I want to produce a report for  each Branch, so what I want is to extract only those people who match  the Branch name. For example:</p>
<p>Frank   Branch A<br />
Frank   Branch A<br />
Frank   Branch A<br />
Joe     Branch A<br />
Mary    Branch B<br />
Jane    Branch C<br />
Mike    Branch A<br />
Joe     Branch A<br />
Dave    Branch C</p>
<p>I would like a list of only those people for Branch A, and then be  able to summarise the transactions. Or should I do this in two stages?</p>
<p><strong>Answer:</strong></p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-.png"><img class="alignnone size-full wp-image-4801" title="Extract a unique distinct list by matching items that meet a criterion" src="http://www.get-digital-help.com/wp-content/uploads/2010/09/Extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-.png" alt="" width="472" height="260" /></a></p>
<p>Type a branch in cell F1.</p>
<p><strong>Array formula in E8:</strong></p>
<p>=INDEX($A$2:$C$11, MATCH(0, COUNTIF($E$7:$E7, $A$2:$A$11)+($B$2:$B$11&lt;&gt;$F$1), 0), COLUMN(A1)) + CTRL + SHIFT + ENTER. Copy cell E8 and paste it down as far as needed. Copy cells and paste into cell range F8 and down as far as needed.</p>
<p><strong>Formula in G8:</strong></p>
<p>=SUMPRODUCT($C$2:$C$11, --($B$2:$B$11=$F$1), --(E8=$A$2:$A$11)) + Enter. Copy cell G8 and paste it down as far as needed.</p>
<p>Next blog post is about how to accomplish this by creating a   pivot table.</p>
<h3><strong>Download excel sample file for this tutorial.</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/09/unique-distinct-list-matching-criteria.xls">unique distinct list matching criteria.xls</a><br />
(Excel 97-2003 Workbook *.xls)</p>
<h3>Previous articles:</h3>
<p><a href="../2009/05/03/create-a-list-of-distinct-values-from-a-list-where-an-adjacent-cell-value-meets-a-criteria-in-excel/">Create  a list of distinct values from a list where an adjacent cell value  meets a criteria in excel</a><br />
<a href="../2009/12/04/filter-unique-distinct-values-where-adjacent-cells-contain-search-string-in-excel/">Filter  unique distinct values where adjacent cells contain search string in  excel</a><br />
<a href="../2009/10/17/filter-unique-distinct-list-sorted-based-on-sum-of-adjacent-values-using-array-formula-in-excel/">Filter  unique distinct list sorted based on sum of adjacent values using array  formula in excel</a><br />
<a href="../excel-unique-and-duplicate-values/">Excel  – Unique and duplicate values</a></p>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if            TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th            smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the            rownumber of a  reference<strong></strong></p>
<p><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a          particular row and  column, in a given range</p>
<p><strong>MATCH(</strong>lookup_value;lookup_array;  [match_type]<strong>)</strong><br />
Returns the relative position of an item in an  array that matches a  specified value</p>
<p><strong>COUNTIF(</strong>range,criteria<strong>)</strong><br />
Counts the  number of cells within a range that meet the given condition</p>
<p><strong>SUMPRODUCT(</strong>array1, array2, <strong>)</strong><br />
Returns the sum of the products of the corresponding ranges or arrays</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel&amp;bodytext=Anura%20asks%3A%0D%0A%0D%0AIs%20it%20possible%20to%20extend%20this%20by%20matching%20items%20that%20meet%20a%20criteria%3F%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20each%20Branch%2C%20so%20what%20" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel&amp;notes=Anura%20asks%3A%0D%0A%0D%0AIs%20it%20possible%20to%20extend%20this%20by%20matching%20items%20that%20meet%20a%20criteria%3F%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20each%20Branch%2C%20so%20what%20" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;t=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel&amp;annotation=Anura%20asks%3A%0D%0A%0D%0AIs%20it%20possible%20to%20extend%20this%20by%20matching%20items%20that%20meet%20a%20criteria%3F%0D%0A%0D%0AI%20have%20a%20list%20of%20credit%20card%20transactions%20showing%20the%20name%20of%20the%20%20card%20holder%2C%20their%20Branch%20and%20the%20amount.%20I%20want%20to%20produce%20a%20report%20for%20%20each%20Branch%2C%20so%20what%20" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F09%2F01%2Fextract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel%2F&amp;linkname=Extract%20a%20unique%20distinct%20list%20by%20matching%20items%20that%20meet%20a%20criterion%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table'>Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/14/filter-unique-distinct-text-values-using-begins-with-criterion-in-a-range-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel'>Filter unique distinct text values using &#8220;begins with&#8221; criterion in a range using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/16/extract-a-unique-distinct-list-sorted-alphabetically-removing-blanks-from-a-range-in-excel/' rel='bookmark' title='Permanent Link: Extract a unique distinct list sorted alphabetically removing blanks from a range in excel'>Extract a unique distinct list sorted alphabetically removing blanks from a range in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/30/validate-unique-distinct-list-in-excel/' rel='bookmark' title='Permanent Link: Validate unique distinct list in excel'>Validate unique distinct list in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/24/unique-distinct-list-sorted-based-on-occurrance-in-a-column-in-excel/' rel='bookmark' title='Permanent Link: Unique distinct list sorted based on occurrance in a column in excel'>Unique distinct list sorted based on occurrance in a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/11/create-a-unique-distinct-sorted-list-containing-both-numbers-text-removing-blanks-in-excel/' rel='bookmark' title='Permanent Link: Create a unique distinct sorted list containing both numbers text removing blanks in excel'>Create a unique distinct sorted list containing both numbers text removing blanks in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/10/extract-unique-distinct-numbers-from-closed-workbook-in-excel-formula/' rel='bookmark' title='Permanent Link: Extract unique distinct numbers from closed workbook in excel (formula)'>Extract unique distinct numbers from closed workbook in excel (formula)</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/26/create-unique-distinct-list-sorted-based-on-text-length-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Create unique distinct list sorted based on text length using array formula in excel'>Create unique distinct list sorted based on text length using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/04/create-a-unique-distinct-text-list-from-a-range-containing-both-numerical-and-text-values-in-excel/' rel='bookmark' title='Permanent Link: Create a unique distinct text list from a range containing both numerical and text values in excel'>Create a unique distinct text list from a range containing both numerical and text values in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/M16qf8jbo2o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/09/01/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/09/01/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel/</feedburner:origLink></item>
		<item>
		<title>Extract dates from a cell block schedule in excel, part 3</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/mDozhaYgRZI/</link>
		<comments>http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 04:00:37 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4787</guid>
		<description><![CDATA[In this post we are going to extract all "not empty" dates in a simple calendar. In a previous blog post we extracted only date ranges and names. Here is a picture of the calendar. Here is a picture of all extracted dates and corresponding "names". Array formula in cell A2: =SMALL(IF(Sheet1!$C$5:$AG$16&#60;&#62;"", DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16) -MIN(ROW(Sheet1!$C$5:$AG$16))+1, [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/15/schedule-recurring-events-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Schedule recurring events in a weekly schedule in excel'>Schedule recurring events in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/09/extract-dates-and-adjacent-value-in-a-range-using-a-date-critera-in-excel/' rel='bookmark' title='Permanent Link: Extract dates and adjacent value in a range using a date critera in excel'>Extract dates and adjacent value in a range using a date critera in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/05/populate-cells-dynamically-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Populate cells dynamically in a weekly schedule in excel'>Populate cells dynamically in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/01/weekly-schedule-template-in-excel/' rel='bookmark' title='Permanent Link: Weekly schedule template in excel'>Weekly schedule template in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/29/find-empty-hours-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Find empty hours in a weekly schedule in excel'>Find empty hours in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/08/setting-up-your-work-hours-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Setting up your work hours in a weekly schedule in excel'>Setting up your work hours in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/04/highlight-specific-time-ranges-in-a-weekly-schedule/' rel='bookmark' title='Permanent Link: Highlight specific time ranges in a weekly schedule in excel'>Highlight specific time ranges in a weekly schedule in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this post we are going to extract all "not empty" dates in a simple calendar. In a previous blog post we extracted only date ranges and names.</p>
<p>Here is a picture of the calendar.</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule3.png"><img class="alignnone size-full wp-image-4785" title="extract dates from cell block schedule3" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule3.png" alt="" width="619" height="287" /></a></p>
<p>Here is a picture of all extracted dates and corresponding "names".</p>
<h3><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule4.png"><img class="size-full wp-image-4788 alignleft" style="margin-left: 15px; margin-right: 15px;" title="extract dates from cell block schedule4" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule4.png" alt="" width="172" height="769" /></a><strong>Array formula in cell A2:</strong></h3>
<p>=SMALL(IF(Sheet1!$C$5:$AG$16&lt;&gt;"", DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16) -MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell A2 and paste it down as far as needed.</p>
<h3><strong>Array formula in cell B2:</strong></h3>
<p>=INDEX(Sheet1!$C$5:$AG$16, SMALL(IF(Sheet1!$C$5:$AG$16&lt;&gt;"", ROW(Sheet1!$C$5:$AG$16) - MIN(ROW(Sheet1!$C$5:$AG$16))+1, ""), ROW(A1)), DAY(SMALL(IF(Sheet1!$C$5:$AG$16&lt;&gt;"", DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16) - MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)))) + CTRL + SHIFT + ENTER. Copy cell B2 and paste it down as far as  needed.</p>
<h3><strong>Download excel sample file for this tutorial.</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Extract-all-dates-and-name-from-yearly-block-schedule.xls">Extract-all-dates-and-name-from-yearly-block-schedule.xls</a><br />
(Excel 97-2003 Workbook *.xls)</p>
<h3>Previous articles about cell blocks:</h3>
<p><a href="../2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/">Extract  dates from a cell block schedule in excel, part 2</a><br />
<a href="../2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/">Extract    dates from a cell block schedule in excel</a><br />
<a href="../2010/08/29/2010/07/26/count-cell-blocks-in-excel/">Count    cell blocks in excel</a><br />
<a href="../2010/08/29/2010/07/13/count-overlapping-dates-in-excel/">Count    overlapping dates in excel</a></p>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if           TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th           smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the           rownumber of a  reference</p>
<p><strong><br />
INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a         particular row and  column, in a given range</p>
<p><strong>DATE(</strong>year,month,day<strong>)</strong> returns the     number that represents the datein Microsoft Office Excel date-time code</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 228px; width: 1px; height: 1px; overflow: hidden;">
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule4.png"><img class="size-full  wp-image-4788 alignleft" style="margin-left: 15px; margin-right: 15px;" title="extract dates from cell block schedule4" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule4.png" alt="" width="172" height="769" /></a><strong>Array formula  in cell A2:</strong></p>
</div>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203&amp;bodytext=In%20this%20post%20we%20are%20going%20to%20extract%20all%20%22not%20empty%22%20dates%20in%20a%20simple%20calendar.%20In%20a%20previous%20blog%20post%20we%20extracted%20only%20date%20ranges%20and%20names.%0D%0A%0D%0AHere%20is%20a%20picture%20of%20the%20calendar.%0D%0A%0D%0A%0D%0A%0D%0AHere%20is%20a%20picture%20of%20all%20extracted%20dates%20and%20corresponding%20" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203&amp;notes=In%20this%20post%20we%20are%20going%20to%20extract%20all%20%22not%20empty%22%20dates%20in%20a%20simple%20calendar.%20In%20a%20previous%20blog%20post%20we%20extracted%20only%20date%20ranges%20and%20names.%0D%0A%0D%0AHere%20is%20a%20picture%20of%20the%20calendar.%0D%0A%0D%0A%0D%0A%0D%0AHere%20is%20a%20picture%20of%20all%20extracted%20dates%20and%20corresponding%20" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;t=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203&amp;annotation=In%20this%20post%20we%20are%20going%20to%20extract%20all%20%22not%20empty%22%20dates%20in%20a%20simple%20calendar.%20In%20a%20previous%20blog%20post%20we%20extracted%20only%20date%20ranges%20and%20names.%0D%0A%0D%0AHere%20is%20a%20picture%20of%20the%20calendar.%0D%0A%0D%0A%0D%0A%0D%0AHere%20is%20a%20picture%20of%20all%20extracted%20dates%20and%20corresponding%20" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F31%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-3%2F&amp;linkname=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%203"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/15/schedule-recurring-events-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Schedule recurring events in a weekly schedule in excel'>Schedule recurring events in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/09/extract-dates-and-adjacent-value-in-a-range-using-a-date-critera-in-excel/' rel='bookmark' title='Permanent Link: Extract dates and adjacent value in a range using a date critera in excel'>Extract dates and adjacent value in a range using a date critera in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/05/populate-cells-dynamically-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Populate cells dynamically in a weekly schedule in excel'>Populate cells dynamically in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/01/weekly-schedule-template-in-excel/' rel='bookmark' title='Permanent Link: Weekly schedule template in excel'>Weekly schedule template in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/29/find-empty-hours-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Find empty hours in a weekly schedule in excel'>Find empty hours in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/08/setting-up-your-work-hours-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Setting up your work hours in a weekly schedule in excel'>Setting up your work hours in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/04/highlight-specific-time-ranges-in-a-weekly-schedule/' rel='bookmark' title='Permanent Link: Highlight specific time ranges in a weekly schedule in excel'>Highlight specific time ranges in a weekly schedule in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/mDozhaYgRZI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/</feedburner:origLink></item>
		<item>
		<title>Extract dates from a cell block schedule in excel, part 2</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/iWX8aTYC9Rg/</link>
		<comments>http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 03:48:36 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4776</guid>
		<description><![CDATA[The obvious question from yesterdays blog post is: How to customize formula to extract dates for all months in calendar? (I have added more data to the calendar since yesterday) Answer: Array formula in A2: =SMALL(IF((Sheet1!$C$5:$AG$16&#60;&#62;Sheet1!$B$5:$AF$16)*(Sheet1!$C$5:$AG$16&#60;&#62;""), DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16)-MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell A2 and  paste it down as [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 3'>Extract dates from a cell block schedule in excel, part 3</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/22/convert-dates-into-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Convert dates into date ranges in excel'>Convert dates into date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/09/extract-dates-and-adjacent-value-in-a-range-using-a-date-critera-in-excel/' rel='bookmark' title='Permanent Link: Extract dates and adjacent value in a range using a date critera in excel'>Extract dates and adjacent value in a range using a date critera in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/28/convert-date-ranges-into-dates-in-excel/' rel='bookmark' title='Permanent Link: Convert date ranges into dates in excel'>Convert date ranges into dates in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/05/populate-cells-dynamically-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Populate cells dynamically in a weekly schedule in excel'>Populate cells dynamically in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/08/filter-overlapping-dates-from-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Filter overlapping dates from date ranges in excel'>Filter overlapping dates from date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/20/list-dates-outside-specified-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: List dates outside specified date ranges in excel'>List dates outside specified date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>The obvious question from yesterdays <a href="http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/">blog post</a> is:</strong> How to customize formula to extract dates for all months in calendar?</p>
<p>(I have added more data to the calendar since yesterday)</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule3.png"><img class="alignnone size-full wp-image-4785" title="extract dates from cell block schedule3" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule3.png" alt="" width="619" height="287" /></a></p>
<p><strong>Answer:</strong></p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule2.png"><img class="alignnone size-full wp-image-4778" title="extract dates from cell block schedule2" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule2.png" alt="" width="312" height="319" /></a></p>
<p><strong>Array formula in A2:</strong></p>
<p>=SMALL(IF((Sheet1!$C$5:$AG$16&lt;&gt;Sheet1!$B$5:$AF$16)*(Sheet1!$C$5:$AG$16&lt;&gt;""), DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16)-MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell A2 and  paste it down as far as  needed.</p>
<p><strong>Array formula in B2:</strong></p>
<p>=SMALL(IF((Sheet1!$C$5:$AG$16&lt;&gt;Sheet1!$D$5:$AH$16)*(Sheet1!$C$5:$AG$16&lt;&gt;""), DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16)-MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell B2 and  paste it down as far as   needed.</p>
<p><strong>Array formula in C2:</strong></p>
<p>=INDEX(Sheet1!$C$5:$AG$16, SMALL(IF((Sheet1!$C$5:$AG$16&lt;&gt;Sheet1!$B$5:$AF$16)*(Sheet1!$C$5:$AG$16&lt;&gt;""), ROW(Sheet1!$C$5:$AG$16)-MIN(ROW(Sheet1!$C$5:$AG$16))+1, ""), ROW(A1)), DAY(SMALL(IF((Sheet1!$C$5:$AG$16&lt;&gt;Sheet1!$B$5:$AF$16)*(Sheet1!$C$5:$AG$16&lt;&gt;""), DATE(Sheet1!$F$2, ROW(Sheet1!$C$5:$AG$16)-MIN(ROW(Sheet1!$C$5:$AG$16))+1, Sheet1!$C$4:$AG$4), ""), ROW(A1)))) + CTRL + SHIFT + ENTER. Copy cell C2 and  paste it down as far as    needed.</p>
<h3><strong>Download excel sample file for this tutorial.</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Extract-dates-and-name-from-yearly-block-schedule.xls">Extract-dates-and-name-from-yearly-block-schedule.xls</a><br />
(Excel 97-2003 Workbook *.xls)</p>
<h3>Previous articles about cell blocks:</h3>
<ul>
<li><a href="../2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/">Extract   dates from a cell block schedule in excel</a></li>
<li><a href="../2010/08/29/2010/07/26/count-cell-blocks-in-excel/">Count   cell blocks in excel</a></li>
<li><a href="../2010/08/29/2010/07/13/count-overlapping-dates-in-excel/">Count   overlapping dates in excel</a></li>
</ul>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if          TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th          smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the          rownumber of a  reference</p>
<p><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a        particular row and  column, in a given range</p>
<p><strong>DATE(</strong>year,month,day<strong>)</strong> returns the    number that represents the datein Microsoft Office Excel date-time code</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202&amp;bodytext=The%20obvious%20question%20from%20yesterdays%20blog%20post%20is%3A%20How%20to%20customize%20formula%20to%20extract%20dates%20for%20all%20months%20in%20calendar%3F%0D%0A%0D%0A%28I%20have%20added%20more%20data%20to%20the%20calendar%20since%20yesterday%29%0D%0A%0D%0A%0D%0A%0D%0AAnswer%3A%0D%0A%0D%0A%0D%0A%0D%0AArray%20formula%20in%20A2%3A%0D%0A%0D%0A%3DSMALL%28IF%28%28Sheet1%21%24C%245%3A" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202&amp;notes=The%20obvious%20question%20from%20yesterdays%20blog%20post%20is%3A%20How%20to%20customize%20formula%20to%20extract%20dates%20for%20all%20months%20in%20calendar%3F%0D%0A%0D%0A%28I%20have%20added%20more%20data%20to%20the%20calendar%20since%20yesterday%29%0D%0A%0D%0A%0D%0A%0D%0AAnswer%3A%0D%0A%0D%0A%0D%0A%0D%0AArray%20formula%20in%20A2%3A%0D%0A%0D%0A%3DSMALL%28IF%28%28Sheet1%21%24C%245%3A" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;t=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202&amp;annotation=The%20obvious%20question%20from%20yesterdays%20blog%20post%20is%3A%20How%20to%20customize%20formula%20to%20extract%20dates%20for%20all%20months%20in%20calendar%3F%0D%0A%0D%0A%28I%20have%20added%20more%20data%20to%20the%20calendar%20since%20yesterday%29%0D%0A%0D%0A%0D%0A%0D%0AAnswer%3A%0D%0A%0D%0A%0D%0A%0D%0AArray%20formula%20in%20A2%3A%0D%0A%0D%0A%3DSMALL%28IF%28%28Sheet1%21%24C%245%3A" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F30%2Fextract-dates-from-a-cell-block-schedule-in-excel-part-2%2F&amp;linkname=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%2C%20part%202"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 3'>Extract dates from a cell block schedule in excel, part 3</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/22/convert-dates-into-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Convert dates into date ranges in excel'>Convert dates into date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/09/extract-dates-and-adjacent-value-in-a-range-using-a-date-critera-in-excel/' rel='bookmark' title='Permanent Link: Extract dates and adjacent value in a range using a date critera in excel'>Extract dates and adjacent value in a range using a date critera in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/28/convert-date-ranges-into-dates-in-excel/' rel='bookmark' title='Permanent Link: Convert date ranges into dates in excel'>Convert date ranges into dates in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/05/populate-cells-dynamically-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Populate cells dynamically in a weekly schedule in excel'>Populate cells dynamically in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/08/filter-overlapping-dates-from-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Filter overlapping dates from date ranges in excel'>Filter overlapping dates from date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/20/list-dates-outside-specified-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: List dates outside specified date ranges in excel'>List dates outside specified date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/iWX8aTYC9Rg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/</feedburner:origLink></item>
		<item>
		<title>Extract dates from a cell block schedule in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/d8FHmFQse84/</link>
		<comments>http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 07:57:16 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4769</guid>
		<description><![CDATA[Sam asks: One more question for the Calendar that you have set up above can we have a excel formula which will give us a below table StarWk EndWk Name 1 2 G 4 6 G 7 15 R ... and so on Question found here. Answer: Array Formula in cell A2: =SMALL(IF((Sheet1!$C$3:$AG$3&#60;&#62;Sheet1!$B$3:$AF$3)*(Sheet1!$C$3:$AG$3&#60;&#62;""), Sheet1!$C$2:$AG$2, ""), [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 3'>Extract dates from a cell block schedule in excel, part 3</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/22/convert-dates-into-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Convert dates into date ranges in excel'>Convert dates into date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/10/extract-unique-distinct-numbers-from-closed-workbook-in-excel-formula/' rel='bookmark' title='Permanent Link: Extract unique distinct numbers from closed workbook in excel (formula)'>Extract unique distinct numbers from closed workbook in excel (formula)</a></li>
<li><a href='http://www.get-digital-help.com/2010/04/13/remove-duplicates-within-same-month-or-year-in-excel/' rel='bookmark' title='Permanent Link: Remove duplicates within same month or year in excel'>Remove duplicates within same month or year in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/15/schedule-recurring-events-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Schedule recurring events in a weekly schedule in excel'>Schedule recurring events in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/04/19/filter-duplicates-within-same-date-week-or-month-in-excel/' rel='bookmark' title='Permanent Link: Filter duplicates within same date, week or month in excel'>Filter duplicates within same date, week or month in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3><strong>Sam asks:</strong></h3>
<p>One more question for the Calendar that you have set up above can we  have a excel formula which will give us a below table<br />
StarWk  EndWk  Name<br />
1       2      G<br />
4       6      G<br />
7       15     R ... and so on</p>
<p>Question found <a href="http://www.get-digital-help.com/2010/07/26/count-cell-blocks-in-excel/">here</a>.</p>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/07/Count-cell-blocks.png"><img class="alignnone size-full wp-image-4648" title="Count cell blocks" src="http://www.get-digital-help.com/wp-content/uploads/2010/07/Count-cell-blocks.png" alt="" width="648" height="289" /></a></p>
<h3><strong>Answer:</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule.png"><img class="alignnone size-full wp-image-4770" title="extract dates from cell block schedule" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/extract-dates-from-cell-block-schedule.png" alt="" width="233" height="200" /></a></p>
<p><strong>Array Formula in cell A2:</strong></p>
<p>=SMALL(IF((Sheet1!$C$3:$AG$3&lt;&gt;Sheet1!$B$3:$AF$3)*(Sheet1!$C$3:$AG$3&lt;&gt;""), Sheet1!$C$2:$AG$2, ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell A2 and  paste it down as far as needed.</p>
<p><strong>Array Formula in cell B2:</strong></p>
<p>=SMALL(IF((Sheet1!$C$3:$AG$3&lt;&gt;Sheet1!$D$3:$AH$3)*(Sheet1!$C$3:$AG$3&lt;&gt;""), Sheet1!$C$2:$AG$2, ""), ROW(A1)) + CTRL + SHIFT + ENTER. Copy cell B2 and  paste it down as far as  needed.</p>
<p><strong>Array Formula in cell C2:</strong></p>
<p>=INDEX(Sheet1!$C$3:$AG$3, SMALL(IF((Sheet1!$C$3:$AG$3&lt;&gt;Sheet1!$B$3:$AF$3)*(Sheet1!$C$3:$AG$3&lt;&gt;""), Sheet1!$C$2:$AG$2, ""), ROW(A1))) + CTRL + SHIFT + ENTER. Copy cell C2 and  paste it down as far as   needed.</p>
<h3><strong>Download excel sample file for this tutorial.</strong></h3>
<p><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Extract-dates-and-name-from-block-schedule.xls">Extract dates and name from block schedule.xls</a><br />
(Excel 97-2003 Workbook *.xls)</p>
<h3>Previous articles about cell blocks:</h3>
<ul>
<li><a href="../2010/07/26/count-cell-blocks-in-excel/">Count  cell blocks in excel</a></li>
<li><a href="../2010/07/13/count-overlapping-dates-in-excel/">Count  overlapping dates in excel</a></li>
</ul>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if         TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th         smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the         rownumber of a  reference</p>
<p><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a       particular row and  column, in a given range</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel&amp;bodytext=Sam%20asks%3A%0D%0AOne%20more%20question%20for%20the%20Calendar%20that%20you%20have%20set%20up%20above%20can%20we%20%20have%20a%20excel%20formula%20which%20will%20give%20us%20a%20below%20table%0D%0AStarWk%20%20EndWk%20%20Name%0D%0A1%20%20%20%20%20%20%202%20%20%20%20%20%20G%0D%0A4%20%20%20%20%20%20%206%20%20%20%20%20%20G%0D%0A7%20%20%20%20%20%20%2015%20%20%20%20%20R%20...%20and%20so%20on%0D%0A%0D%0AQuestion%20found%20here.%0D%0A%0D" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel&amp;notes=Sam%20asks%3A%0D%0AOne%20more%20question%20for%20the%20Calendar%20that%20you%20have%20set%20up%20above%20can%20we%20%20have%20a%20excel%20formula%20which%20will%20give%20us%20a%20below%20table%0D%0AStarWk%20%20EndWk%20%20Name%0D%0A1%20%20%20%20%20%20%202%20%20%20%20%20%20G%0D%0A4%20%20%20%20%20%20%206%20%20%20%20%20%20G%0D%0A7%20%20%20%20%20%20%2015%20%20%20%20%20R%20...%20and%20so%20on%0D%0A%0D%0AQuestion%20found%20here.%0D%0A%0D" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;t=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel&amp;annotation=Sam%20asks%3A%0D%0AOne%20more%20question%20for%20the%20Calendar%20that%20you%20have%20set%20up%20above%20can%20we%20%20have%20a%20excel%20formula%20which%20will%20give%20us%20a%20below%20table%0D%0AStarWk%20%20EndWk%20%20Name%0D%0A1%20%20%20%20%20%20%202%20%20%20%20%20%20G%0D%0A4%20%20%20%20%20%20%206%20%20%20%20%20%20G%0D%0A7%20%20%20%20%20%20%2015%20%20%20%20%20R%20...%20and%20so%20on%0D%0A%0D%0AQuestion%20found%20here.%0D%0A%0D" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F29%2Fextract-dates-from-a-cell-block-schedule-in-excel%2F&amp;linkname=Extract%20dates%20from%20a%20cell%20block%20schedule%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/31/extract-dates-from-a-cell-block-schedule-in-excel-part-3/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 3'>Extract dates from a cell block schedule in excel, part 3</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/06/22/convert-dates-into-date-ranges-in-excel/' rel='bookmark' title='Permanent Link: Convert dates into date ranges in excel'>Convert dates into date ranges in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/21/schedule-recurring-expenses-in-a-calendar-in-excel-personal-finance/' rel='bookmark' title='Permanent Link: Schedule recurring expenses in a calendar in excel (Personal Finance)'>Schedule recurring expenses in a calendar in excel (Personal Finance)</a></li>
<li><a href='http://www.get-digital-help.com/2010/05/10/extract-unique-distinct-numbers-from-closed-workbook-in-excel-formula/' rel='bookmark' title='Permanent Link: Extract unique distinct numbers from closed workbook in excel (formula)'>Extract unique distinct numbers from closed workbook in excel (formula)</a></li>
<li><a href='http://www.get-digital-help.com/2010/04/13/remove-duplicates-within-same-month-or-year-in-excel/' rel='bookmark' title='Permanent Link: Remove duplicates within same month or year in excel'>Remove duplicates within same month or year in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/15/schedule-recurring-events-in-a-weekly-schedule-in-excel/' rel='bookmark' title='Permanent Link: Schedule recurring events in a weekly schedule in excel'>Schedule recurring events in a weekly schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/04/19/filter-duplicates-within-same-date-week-or-month-in-excel/' rel='bookmark' title='Permanent Link: Filter duplicates within same date, week or month in excel'>Filter duplicates within same date, week or month in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/d8FHmFQse84" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/</feedburner:origLink></item>
		<item>
		<title>Concatenate cell values in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/cPFouMeS8jU/</link>
		<comments>http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 20:39:02 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4743</guid>
		<description><![CDATA[Arielle asks: i have a formula in row a from A1:Z1 that displays "" if there is an error. I need to then take that row and combine or concatenate all the cells into one cell and have each cell separated by " / ". I only want the " / " to display if [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/11/04/count-matching-cell-values-in-two-columns-in-excel/' rel='bookmark' title='Permanent Link: Count matching cell values in two columns in excel'>Count matching cell values in two columns in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/26/sum-values-in-a-range-where-adjacent-cell-value-equals-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Sum values in a range where adjacent cell value equals a criterion in excel'>Sum values in a range where adjacent cell value equals a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/26/count-cell-blocks-in-excel/' rel='bookmark' title='Permanent Link: Count cell blocks in excel'>Count cell blocks in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Arielle asks: </strong></p>
<p>i have a formula in row a from A1:Z1 that displays "" if there is an  error. I need to then take that row and combine or concatenate all the  cells into one cell and have each cell separated by " / ". I only want  the " / " to display if there is text in the cell, not the "". Let me  know if this is possible!</p>
<p>ex. A1: AA B1: BB C1:  D1: ------&gt; Z1:<br />
(C1-Z1 display a blank ("") or [iferror(,"")])</p>
<p>A3: AA / BB</p>
<p>NOT&gt;&gt; A3: AA / BB /  /  /  /  /  /.... /</p>
<p><em>You can find her question here:</em></p>
<p><em><a href="http://www.get-digital-help.com/2009/04/08/merge-two-lists/comment-page-1/#comment-4893">http://www.get-digital-help.com/2009/04/08/merge-two-lists/comment-page-1/#comment-4893</a></em></p>
<p><strong>Answer #1:</strong> No, vba is required. <a href="http://www.mrexcel.com/forum/showthread.php?t=405432">VBA Join  function</a></p>
<p><strong>Answer #2:</strong></p>
<p><img class="alignnone size-full wp-image-4745" title="concatenate cells in excel" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/concatenate-cells-in-excel.png" alt="" width="595" height="575" /></p>
<p><strong>Formula in B1:</strong></p>
<p>=A1 + Enter</p>
<p><strong>Formula in B2:</strong></p>
<p>=IF(A2&lt;&gt;"", B1&amp;"/"&amp;A2, B1) + Enter.</p>
<p>Copy formula in cell b2 and paste it down as far as needed.</p>
<h3>Download excel file</h3>
<p><a href="../2010/07/04/wp-content/uploads/2010/07/Create-a-weekly-schedule.xls"> </a><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Concatenate-cells1.xlsx">Concatenate cells.xlsx</a><br />
(Excel 2007 Workbook *.xlsx)</p>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if         TRUE, and another value if  FALSE</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;title=Concatenate%20cell%20values%20in%20excel&amp;bodytext=Arielle%20asks%3A%20%0D%0A%0D%0Ai%20have%20a%20formula%20in%20row%20a%20from%20A1%3AZ1%20that%20displays%20%22%22%20if%20there%20is%20an%20%20error.%20I%20need%20to%20then%20take%20that%20row%20and%20combine%20or%20concatenate%20all%20the%20%20cells%20into%20one%20cell%20and%20have%20each%20cell%20separated%20by%20%22%20%2F%20%22.%20I%20only%20want%20%20the%20%22%20%2F%20%22%20to%20displ" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;title=Concatenate%20cell%20values%20in%20excel&amp;notes=Arielle%20asks%3A%20%0D%0A%0D%0Ai%20have%20a%20formula%20in%20row%20a%20from%20A1%3AZ1%20that%20displays%20%22%22%20if%20there%20is%20an%20%20error.%20I%20need%20to%20then%20take%20that%20row%20and%20combine%20or%20concatenate%20all%20the%20%20cells%20into%20one%20cell%20and%20have%20each%20cell%20separated%20by%20%22%20%2F%20%22.%20I%20only%20want%20%20the%20%22%20%2F%20%22%20to%20displ" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;title=Concatenate%20cell%20values%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Concatenate%20cell%20values%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;t=Concatenate%20cell%20values%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;title=Concatenate%20cell%20values%20in%20excel&amp;annotation=Arielle%20asks%3A%20%0D%0A%0D%0Ai%20have%20a%20formula%20in%20row%20a%20from%20A1%3AZ1%20that%20displays%20%22%22%20if%20there%20is%20an%20%20error.%20I%20need%20to%20then%20take%20that%20row%20and%20combine%20or%20concatenate%20all%20the%20%20cells%20into%20one%20cell%20and%20have%20each%20cell%20separated%20by%20%22%20%2F%20%22.%20I%20only%20want%20%20the%20%22%20%2F%20%22%20to%20displ" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Concatenate%20cell%20values%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F23%2Fconcatenate-cell-values-in-excel%2F&amp;linkname=Concatenate%20cell%20values%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/11/04/count-matching-cell-values-in-two-columns-in-excel/' rel='bookmark' title='Permanent Link: Count matching cell values in two columns in excel'>Count matching cell values in two columns in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/26/sum-values-in-a-range-where-adjacent-cell-value-equals-a-criterion-in-excel/' rel='bookmark' title='Permanent Link: Sum values in a range where adjacent cell value equals a criterion in excel'>Sum values in a range where adjacent cell value equals a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/10/user-defined-function-to-split-words-in-a-cell-range-into-a-cell-each-in-excel/' rel='bookmark' title='Permanent Link: User defined function to split words in a cell range into a cell each in excel'>User defined function to split words in a cell range into a cell each in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/29/extract-dates-from-a-cell-block-schedule-in-excel/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel'>Extract dates from a cell block schedule in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/' rel='bookmark' title='Permanent Link: Search for a cell in a table and then display the column title in excel'>Search for a cell in a table and then display the column title in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/07/26/count-cell-blocks-in-excel/' rel='bookmark' title='Permanent Link: Count cell blocks in excel'>Count cell blocks in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/30/extract-dates-from-a-cell-block-schedule-in-excel-part-2/' rel='bookmark' title='Permanent Link: Extract dates from a cell block schedule in excel, part 2'>Extract dates from a cell block schedule in excel, part 2</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/cPFouMeS8jU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/</feedburner:origLink></item>
		<item>
		<title>Filter emails spread over several columns in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/Petqqm2li8A/</link>
		<comments>http://www.get-digital-help.com/2010/08/20/filter-emails-spread-over-several-columns-in-excel/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 12:47:22 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4735</guid>
		<description><![CDATA[magneticone asks: Any idea how to adapt the formula to do a conditional (i.e. comma-separated) merge of the data from multiple columns, in the case that a single row has emails spread over several columns? You can find magneticone´s question here: How to extract email addresses from a excel sheet Answer: Array formula in E2: [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/12/27/filter-duplicate-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter duplicate values in a range using “contain” condition in excel'>Filter duplicate values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/23/filter-unique-text-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter unique text values in a range using “contain” condition in excel'>Filter unique text values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/21/filter-unique-distinct-text-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values in a range using “contain” condition in excel'>Filter unique distinct text values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/10/vlookup-of-three-columns-to-pull-a-single-record/' rel='bookmark' title='Permanent Link: Vlookup of three columns to pull a single record'>Vlookup of three columns to pull a single record</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/04/filter-unique-distinct-values-where-adjacent-cells-contain-search-string-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values where adjacent cells contain search string in excel'>Filter unique distinct values where adjacent cells contain search string in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/01/lookup-with-multiple-criteria-and-display-multiple-search-results-using-excel-formula-part-4/' rel='bookmark' title='Permanent Link: Lookup with multiple criteria and display multiple search results using excel formula, part 4'>Lookup with multiple criteria and display multiple search results using excel formula, part 4</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/16/filter-unique-distinct-values-using-contain-condition-of-a-column-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values using &#8220;contain&#8221; condition of a column in excel'>Filter unique distinct values using &#8220;contain&#8221; condition of a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/08/lookup-two-index-columns-returning-multiple-matches-in-excel/' rel='bookmark' title='Permanent Link: Lookup two index columns returning multiple matches in excel'>Lookup two index columns returning multiple matches in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/09/lookup-two-index-columns-using-min-max-values-and-a-date-range-as-criteria/' rel='bookmark' title='Permanent Link: Lookup two index columns using min max values and a date range as criteria'>Lookup two index columns using min max values and a date range as criteria</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/' rel='bookmark' title='Permanent Link: Lookup two index columns in excel'>Lookup two index columns in excel</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>magneticone asks:</strong></p>
<p>Any idea how to adapt the formula to do a conditional (i.e.  comma-separated) merge of the data from multiple columns, in the case  that a single row has emails spread over several columns?</p>
<p>You can find magneticone´s question here: <a href="../2009/01/30/how-to-extract-email-addresses-from-a-excel-sheet/">How  to extract email addresses from a excel sheet</a><br />
<strong></strong></p>
<p><strong>Answer:</strong></p>
<p><strong><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/filter-emails-spread-over-several-columns.png"><img class="alignnone size-full wp-image-4736" title="filter emails spread over several columns" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/filter-emails-spread-over-several-columns.png" alt="" width="504" height="162" /></a></strong></p>
<p><strong>Array formula in E2:</strong></p>
<p>=INDEX($A$1:$C$3, SMALL(IF(ISNUMBER(SEARCH("@", $A$1:$C$3)), ROW($A$1:$C$3)-MIN(ROW($A$1:$C$3))+1, ""), ROW(A1)), (SMALL(IF(ISNUMBER(SEARCH("@", $A$1:$C$3)), (ROW($A$1:$C$3)-MIN(ROW($A$1:$C$3))+1)+COLUMN($A$1:$C$3)/1048576, ""), ROW(A1))-SMALL(IF(ISNUMBER(SEARCH("@", $A$1:$C$3)), ROW($A$1:$C$3)-MIN(ROW($A$1:$C$3))+1), ROW(A1)))*1048576) + CTRL + SHIFT + ENTER. Copycell E2 and paste it down as far as needed.</p>
<p>Every cell containing "@" is <strong>filtered </strong>into column E.</p>
<h3>Concatenate cells in column E</h3>
<p>Unfortunately you need some vba code to pull this one off: <a href="http://www.mrexcel.com/forum/showthread.php?t=405432">VBA Join function</a></p>
<h3>Download excel template</h3>
<p><a href="../2010/07/04/wp-content/uploads/2010/07/Create-a-weekly-schedule.xls"> </a><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Filter-emails-spread-over-several-columns.xls">Filter emails spread over several columns.xls</a><br />
(Excel 97- 2003 Workbook *.xls)</p>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if        TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th        smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the        rownumber of a  reference</p>
<p><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a      particular row and  column, in a given range</p>
<p><strong>COLUMN(</strong>reference<strong>) </strong>returns the  column   number of a reference</p>
<p><strong>ISNUMBER(</strong>value)<br />
Checks whether a value is a number and  returns TRUE or FALSE</p>
<p><strong>SEARCH()</strong> Returns the number of the character at  which a specific character or text string is first found, reading left  to right (not case sensitive)</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;title=Filter%20emails%20spread%20over%20several%20columns%20in%20excel&amp;bodytext=magneticone%20asks%3A%0D%0A%0D%0AAny%20idea%20how%20to%20adapt%20the%20formula%20to%20do%20a%20conditional%20%28i.e.%20%20comma-separated%29%20merge%20of%20the%20data%20from%20multiple%20columns%2C%20in%20the%20case%20%20that%20a%20single%20row%20has%20emails%20spread%20over%20several%20columns%3F%0D%0A%0D%0AYou%20can%20find%20magneticone%C2%B4s%20question" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;title=Filter%20emails%20spread%20over%20several%20columns%20in%20excel&amp;notes=magneticone%20asks%3A%0D%0A%0D%0AAny%20idea%20how%20to%20adapt%20the%20formula%20to%20do%20a%20conditional%20%28i.e.%20%20comma-separated%29%20merge%20of%20the%20data%20from%20multiple%20columns%2C%20in%20the%20case%20%20that%20a%20single%20row%20has%20emails%20spread%20over%20several%20columns%3F%0D%0A%0D%0AYou%20can%20find%20magneticone%C2%B4s%20question" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;title=Filter%20emails%20spread%20over%20several%20columns%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Filter%20emails%20spread%20over%20several%20columns%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;t=Filter%20emails%20spread%20over%20several%20columns%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;title=Filter%20emails%20spread%20over%20several%20columns%20in%20excel&amp;annotation=magneticone%20asks%3A%0D%0A%0D%0AAny%20idea%20how%20to%20adapt%20the%20formula%20to%20do%20a%20conditional%20%28i.e.%20%20comma-separated%29%20merge%20of%20the%20data%20from%20multiple%20columns%2C%20in%20the%20case%20%20that%20a%20single%20row%20has%20emails%20spread%20over%20several%20columns%3F%0D%0A%0D%0AYou%20can%20find%20magneticone%C2%B4s%20question" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Filter%20emails%20spread%20over%20several%20columns%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F20%2Ffilter-emails-spread-over-several-columns-in-excel%2F&amp;linkname=Filter%20emails%20spread%20over%20several%20columns%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/12/27/filter-duplicate-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter duplicate values in a range using “contain” condition in excel'>Filter duplicate values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/23/filter-unique-text-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter unique text values in a range using “contain” condition in excel'>Filter unique text values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/21/filter-unique-distinct-text-values-in-a-range-using-%e2%80%9ccontain%e2%80%9d-condition-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct text values in a range using “contain” condition in excel'>Filter unique distinct text values in a range using “contain” condition in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/10/vlookup-of-three-columns-to-pull-a-single-record/' rel='bookmark' title='Permanent Link: Vlookup of three columns to pull a single record'>Vlookup of three columns to pull a single record</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/04/filter-unique-distinct-values-where-adjacent-cells-contain-search-string-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values where adjacent cells contain search string in excel'>Filter unique distinct values where adjacent cells contain search string in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/01/lookup-with-multiple-criteria-and-display-multiple-search-results-using-excel-formula-part-4/' rel='bookmark' title='Permanent Link: Lookup with multiple criteria and display multiple search results using excel formula, part 4'>Lookup with multiple criteria and display multiple search results using excel formula, part 4</a></li>
<li><a href='http://www.get-digital-help.com/2010/01/16/filter-unique-distinct-values-using-contain-condition-of-a-column-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values using &#8220;contain&#8221; condition of a column in excel'>Filter unique distinct values using &#8220;contain&#8221; condition of a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/08/lookup-two-index-columns-returning-multiple-matches-in-excel/' rel='bookmark' title='Permanent Link: Lookup two index columns returning multiple matches in excel'>Lookup two index columns returning multiple matches in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/09/lookup-two-index-columns-using-min-max-values-and-a-date-range-as-criteria/' rel='bookmark' title='Permanent Link: Lookup two index columns using min max values and a date range as criteria'>Lookup two index columns using min max values and a date range as criteria</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/' rel='bookmark' title='Permanent Link: Lookup two index columns in excel'>Lookup two index columns in excel</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/Petqqm2li8A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/20/filter-emails-spread-over-several-columns-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/20/filter-emails-spread-over-several-columns-in-excel/</feedburner:origLink></item>
		<item>
		<title>Search for a cell in a table and then display the column title in excel</title>
		<link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/fqOtIM36MFk/</link>
		<comments>http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 18:09:22 +0000</pubDate>
		<dc:creator>Oscar</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.get-digital-help.com/?p=4728</guid>
		<description><![CDATA[Arielle asks: I have to search for a cell in a table and then display the column title. search value in cell e1: AA table in cells A1:C6 A1:x B1:y C1:z A2:BB B2:CC C2:DD A3:AA B3:GG C3:AA A4:CC B4:BLANK C4:EE A5:FF B5:BLANK C5:HH A6:BLANK B6:BLANK C6:II then the values to be displayed from the search [...]


Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/10/01/lookup-with-multiple-criteria-and-display-multiple-search-results-using-excel-formula-part-4/' rel='bookmark' title='Permanent Link: Lookup with multiple criteria and display multiple search results using excel formula, part 4'>Lookup with multiple criteria and display multiple search results using excel formula, part 4</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/25/search-for-multiple-text-strings-in-multiple-cells-and-use-in-data-validation-in-excel/' rel='bookmark' title='Permanent Link: Search for multiple text strings in multiple cells and use in data validation in excel'>Search for multiple text strings in multiple cells and use in data validation in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/31/sum-adjacent-values-using-multiple-lookup-text-values-in-a-column-in-excel/' rel='bookmark' title='Permanent Link: Sum adjacent values using multiple lookup text values in a column in excel'>Sum adjacent values using multiple lookup text values in a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/' rel='bookmark' title='Permanent Link: Concatenate cell values in excel'>Concatenate cell values in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/04/filter-unique-distinct-values-where-adjacent-cells-contain-search-string-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values where adjacent cells contain search string in excel'>Filter unique distinct values where adjacent cells contain search string in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/13/filter-a-column-and-create-a-new-unique-list-sorted-from-a-to-z-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter a column and create a new unique list sorted from A to Z using array formula in excel'>Filter a column and create a new unique list sorted from A to Z using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/28/extract-all-rows-from-a-range-that-meet-criteria-in-one-column-in-excel/' rel='bookmark' title='Permanent Link: Extract all rows from a range that meet criteria in one column in excel'>Extract all rows from a range that meet criteria in one column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table'>Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Arielle asks</strong>: I have to search for a cell in a table and then display the column title.</p>
<p>search value in cell e1: AA</p>
<p>table in cells A1:C6</p>
<p>A1:x B1:y C1:z<br />
A2:BB B2:CC C2:DD<br />
A3:AA B3:GG C3:AA<br />
A4:CC B4:BLANK C4:EE<br />
A5:FF B5:BLANK C5:HH<br />
A6:BLANK B6:BLANK C6:II</p>
<p>then the values to be displayed from the search would be: x in one cell and z in the next cell.</p>
<p>the display of the search values can either be in a row-(g1: x h1: z) or a column-(g1: x g2: z)  Let me know if this type of search is possible, thanks!</p>
<p><strong>Answer:</strong></p>
<p><strong><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Search-for-a-cell-in-a-table.png"><img class="alignnone size-full wp-image-4731" title="Search for a cell in a table" src="http://www.get-digital-help.com/wp-content/uploads/2010/08/Search-for-a-cell-in-a-table.png" alt="" width="420" height="160" /></a></strong></p>
<p><strong>Array formula in E3:</strong></p>
<p>=INDEX($A$1:$C$1, SMALL(IF(COUNTIF($E$1, $A$2:$C$6)&gt;0, COLUMN($A$2:$C$6)), ROW(A1))) + CTRL + SHIFT+ ENTER. Copy cell E3 and paste it down as far as needed.</p>
<h3>Download excel template</h3>
<p><a href="../2010/07/04/wp-content/uploads/2010/07/Create-a-weekly-schedule.xls"> </a><a href="http://www.get-digital-help.com/wp-content/uploads/2010/08/Search-for-a-cell-in-a-table-and-then-display-the-column-title.xls">Search for a cell in a table and then display the column title.xls</a><br />
(Excel 97- 2003 Workbook *.xls)</p>
<h3><strong>Functions in this article:</strong></h3>
<p><strong>IF(</strong>logical_test;[value_if:true];[value_if_false]<strong>)<br />
</strong>Checks  whether a condition is met, and returns one value if       TRUE, and another value if  FALSE</p>
<p><strong>SMALL(</strong>array,k<strong>)</strong> returns the k-th       smallest  row number in this data set.</p>
<p><strong>ROW(</strong>reference<strong>)</strong> returns the       rownumber of a  reference</p>
<p><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong><br />
Returns  a value or reference of the cell at the intersection of a     particular row and  column, in a given range</p>
<p><strong>COUNTIF(</strong>range,criteria<strong>)</strong><br />
Counts the  number of cells within a range that meet the given condition</p>
<p><strong>COLUMN(</strong>reference<strong>) </strong>returns the column   number of a reference</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.get-digital-help.com/feed/" title="RSS">RSS</a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;title=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel&amp;bodytext=Arielle%20asks%3A%20I%20have%20to%20search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title.%0D%0A%0D%0Asearch%20value%20in%20cell%20e1%3A%20AA%0D%0A%0D%0Atable%20in%20cells%20A1%3AC6%0D%0A%0D%0AA1%3Ax%20B1%3Ay%20C1%3Az%0D%0AA2%3ABB%20B2%3ACC%20C2%3ADD%0D%0AA3%3AAA%20B3%3AGG%20C3%3AAA%0D%0AA4%3ACC%20B4%3ABLANK%20C4%3AEE%0D%0AA5%3AFF%20B5%3ABLANK%20C5%3AHH%0D%0AA6%3ABLA" title="Digg">Digg</a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;title=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel&amp;notes=Arielle%20asks%3A%20I%20have%20to%20search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title.%0D%0A%0D%0Asearch%20value%20in%20cell%20e1%3A%20AA%0D%0A%0D%0Atable%20in%20cells%20A1%3AC6%0D%0A%0D%0AA1%3Ax%20B1%3Ay%20C1%3Az%0D%0AA2%3ABB%20B2%3ACC%20C2%3ADD%0D%0AA3%3AAA%20B3%3AGG%20C3%3AAA%0D%0AA4%3ACC%20B4%3ABLANK%20C4%3AEE%0D%0AA5%3AFF%20B5%3ABLANK%20C5%3AHH%0D%0AA6%3ABLA" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;title=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel" title="StumbleUpon">StumbleUpon</a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel%20-%20http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F" title="Twitter">Twitter</a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;t=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel" title="Facebook">Facebook</a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;title=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel&amp;annotation=Arielle%20asks%3A%20I%20have%20to%20search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title.%0D%0A%0D%0Asearch%20value%20in%20cell%20e1%3A%20AA%0D%0A%0D%0Atable%20in%20cells%20A1%3AC6%0D%0A%0D%0AA1%3Ax%20B1%3Ay%20C1%3Az%0D%0AA2%3ABB%20B2%3ACC%20C2%3ADD%0D%0AA3%3AAA%20B3%3AGG%20C3%3AAA%0D%0AA4%3ACC%20B4%3ABLANK%20C4%3AEE%0D%0AA5%3AFF%20B5%3ABLANK%20C5%3AHH%0D%0AA6%3ABLA" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel&amp;url=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F" title="Slashdot">Slashdot</a>


<br/><br/><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.get-digital-help.com%2F2010%2F08%2F16%2Fsearch-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel%2F&amp;linkname=Search%20for%20a%20cell%20in%20a%20table%20and%20then%20display%20the%20column%20title%20in%20excel"><img src="http://www.get-digital-help.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.get-digital-help.com/2009/10/01/lookup-with-multiple-criteria-and-display-multiple-search-results-using-excel-formula-part-4/' rel='bookmark' title='Permanent Link: Lookup with multiple criteria and display multiple search results using excel formula, part 4'>Lookup with multiple criteria and display multiple search results using excel formula, part 4</a></li>
<li><a href='http://www.get-digital-help.com/2009/11/25/search-for-multiple-text-strings-in-multiple-cells-and-use-in-data-validation-in-excel/' rel='bookmark' title='Permanent Link: Search for multiple text strings in multiple cells and use in data validation in excel'>Search for multiple text strings in multiple cells and use in data validation in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/31/sum-adjacent-values-using-multiple-lookup-text-values-in-a-column-in-excel/' rel='bookmark' title='Permanent Link: Sum adjacent values using multiple lookup text values in a column in excel'>Sum adjacent values using multiple lookup text values in a column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/08/23/concatenate-cell-values-in-excel/' rel='bookmark' title='Permanent Link: Concatenate cell values in excel'>Concatenate cell values in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/12/04/filter-unique-distinct-values-where-adjacent-cells-contain-search-string-in-excel/' rel='bookmark' title='Permanent Link: Filter unique distinct values where adjacent cells contain search string in excel'>Filter unique distinct values where adjacent cells contain search string in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/13/filter-a-column-and-create-a-new-unique-list-sorted-from-a-to-z-using-array-formula-in-excel/' rel='bookmark' title='Permanent Link: Filter a column and create a new unique list sorted from A to Z using array formula in excel'>Filter a column and create a new unique list sorted from A to Z using array formula in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/10/23/extract-cell-values-in-a-range-using-criteria-in-excel/' rel='bookmark' title='Permanent Link: Extract cell values in a range using a criterion in excel'>Extract cell values in a range using a criterion in excel</a></li>
<li><a href='http://www.get-digital-help.com/2009/09/28/extract-all-rows-from-a-range-that-meet-criteria-in-one-column-in-excel/' rel='bookmark' title='Permanent Link: Extract all rows from a range that meet criteria in one column in excel'>Extract all rows from a range that meet criteria in one column in excel</a></li>
<li><a href='http://www.get-digital-help.com/2010/09/03/extract-a-unique-distinct-list-by-matching-items-that-meet-a-criterion-in-excel-2007-using-pivot-table/' rel='bookmark' title='Permanent Link: Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table'>Extract a unique distinct list by matching items that meet a criterion in excel 2007 using pivot table</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/fqOtIM36MFk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.get-digital-help.com/2010/08/16/search-for-a-cell-in-a-table-and-then-display-the-column-title-in-excel/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.452 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-10 10:13:58 -->
