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

<channel>
	<title>Your Excel Partners</title>
	<atom:link href="https://www.p2w2.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.p2w2.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 18 Mar 2020 05:58:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.26</generator>
	<item>
		<title>Accessing multiple data sources using ADO and VBA in Excel</title>
		<link>https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/</link>
		<comments>https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/#respond</comments>
		<pubDate>Mon, 09 Mar 2020 03:30:16 +0000</pubDate>
		<dc:creator><![CDATA[Perceptive Analytics]]></dc:creator>
				<category><![CDATA[p2w2]]></category>

		<guid isPermaLink="false">https://www.p2w2.com/blog/?p=1569</guid>
		<description><![CDATA[<p>One way to load data into an Excel worksheet is to simply use “Get Data” option from Data tab. But it’s a manual process. In this article, let us look at another way to load data using VBA with ADO as the interface. ADO stands for “ActiveX Data Objects”, the reason for using ADO in &#8230; </p>
<p class="link-more"><a href="https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/" class="more-link">Continue reading<span class="screen-reader-text"> "Accessing multiple data sources using ADO and VBA in Excel"</span></a></p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/">Accessing multiple data sources using ADO and VBA in Excel</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>One way to load data into an Excel worksheet is to simply use “Get Data” option from Data tab. But it’s a manual process. In this article, let us look at another way to load data using VBA with ADO as the interface.</p>
<p>ADO stands for “ActiveX Data Objects”, the reason for using ADO in excel is that it acts as a common interface to get data from multiple sources. The main use of ADO is to unite all other data sources on to a single platform. If there was no ADO, then we would end up writing individual code for each data source.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-4.jpg"><img class="alignnone wp-image-1570 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-4.jpg" alt="ActiveX Data Object model to connect excel" width="582" height="325" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-4.jpg 582w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-4-300x168.jpg 300w" sizes="(max-width: 582px) 100vw, 582px" /></a></p>
<p>‘ADO’ is not a default object added into the Excel VBA library. So, we must add it by navigating as follows: Tools <strong>-&gt;</strong> references <strong>-&gt;</strong> Microsoft ActiveX Data Objects 6.1 Library. Look at the below image for reference.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4.jpg"><img class="alignnone wp-image-1571 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4.jpg" alt="ADO object 6.1 in excel VBA Library" width="1034" height="471" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4.jpg 1034w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4-300x137.jpg 300w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4-768x350.jpg 768w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-4-1024x466.jpg 1024w" sizes="(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></a></p>
<p>Let us write the VBA code using ADO object to load data from MS Access database. In this article we would be using “CarDetails” (MS Access Table) as the source DB table. Refer below snap to know more in detail.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-2.jpg"><img class="alignnone wp-image-1572 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-2.jpg" alt="Table in MS Access Database to connect to excel" width="711" height="171" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-2.jpg 711w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-2-300x72.jpg 300w" sizes="(max-width: 711px) 100vw, 711px" /></a></p>
<p>The below code will fetch the data from MS Access database and loads into the excel file. Let us look at the loaded data in the below image. You can customize the query and the source depending on the required data. Indeed, you can get data from any source using ADO interface without any glitch.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.jpg"><img class="alignnone wp-image-1573 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.jpg" alt="MS Access table copied to Excel using ADO and VBA" width="471" height="172" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.jpg 471w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/4-300x110.jpg 300w" sizes="(max-width: 471px) 100vw, 471px" /></a></p>
<p><strong>Step 1: </strong>First step is to declare the new ADO object as:<br />
<em>                   &#8220;New ADODB.Connection”</em><br />
<strong>Step 2:</strong> Open the connection by providing the connection string. In this article let us consider MS Access connection string<br />
<em>            &#8220;Provider=Microsoft.ACE.OLEDB.12.0;&#8221;&amp;&#8221;Data Source=&#8221;Location of the MS Access file;&#8221;</em><br />
<strong>Step 3:</strong> Create a string object to write a SQL query<br />
<em>              Dim query As String</em><br />
<em>              query = &#8220;select * from CarDetails&#8221;</em><br />
<strong>Step 4:</strong> Create a ‘New’ Recordset to open the connection and execute the query. Refer below code to get an idea<br />
<em>              Dim rs As New ADODB.Recordset</em><br />
<em>              rs.Open query,Conn</em><br />
<strong>Step 5:</strong> Select the destination location to load the data. In this article, we have considered Excel as the destination file. So, select the specific range in the excel to populate the data<br />
<em>             Sheet1.Range(&#8220;A1:F1&#8221;).Value = Array(&#8220;ID&#8221;, &#8220;Car name&#8221;, &#8220;Manufacturer&#8221;,  &#8220;year of manufacture&#8221;, &#8220;BS Version&#8221;, &#8220;Price&#8221;)</em><br />
<em>             Sheet1.Range(&#8220;A2&#8221;).CopyFromRecordset rs</em><br />
<strong>Step 6:</strong> Final step is to close the connection<br />
<em>              Conn.Close</em></p>
<p>&nbsp;</p>
<h3>
Check out our Tableau Expertise Related Pages</h3>
<ul>
<li style="list-style-type: none">
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-san-francisco-ca/">Tableau Expert San Francisco, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-san-jose-ca/">Tableau Expert San Jose, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-los-angeles-ca/">Tableau Expert Los Angeles, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-san-diego-ca/">Tableau Expert San Diego, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-sacramento-ca/">Tableau Expert Sacramento, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-dallas-fort-worth-tx/">Tableau Expert Dallas Fort Worth, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-austin-tx/">Tableau Expert Austin, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-san-antonio-tx/">Tableau Expert San Antonio, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-houston-tx/">Tableau Expert Houston, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-norwalk-ct/">Tableau Expert Norwalk, CT</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-chicago-il/">Tableau Expert Chicago, IL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-atlanta-ga/">Tableau Expert Atlanta, GA</a></li>
</ul>
</li>
</ul>
<div class="clear" style="clear: both;"></div>
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-philadelphia-pa/">Tableau Expert Philadelphia, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-pittsburgh-pa/">Tableau Expert Pittsburgh, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-phoenix-az/">Tableau Expert Phoenix, AZ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-boise-id/">Tableau Expert Boise, ID</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-new-york-ny/">Tableau Expert New York, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-rochester-ny/">Tableau Expert Rochester, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-jersey-city-nj/">Tableau Expert Jersey City, NJ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-washington-dc/">Tableau Expert Washington, DC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-charlotte-nc/">Tableau Expert Charlotte, NC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-seattle-wa/">Tableau Expert Seattle, WA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-miami-fl/">Tableau Expert Miami, FL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-expert-boston-ma/">Tableau Expert Boston, MA</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/">Accessing multiple data sources using ADO and VBA in Excel</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.p2w2.com/blog/accessing-multiple-data-sources-using-ado-and-vba-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Excel for Windows Vs Mac: Who wins the race?</title>
		<link>https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/</link>
		<comments>https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/#respond</comments>
		<pubDate>Thu, 05 Dec 2019 03:30:41 +0000</pubDate>
		<dc:creator><![CDATA[Perceptive Analytics]]></dc:creator>
				<category><![CDATA[Excel Functions]]></category>
		<category><![CDATA[p2w2]]></category>

		<guid isPermaLink="false">https://www.p2w2.com/blog/?p=1547</guid>
		<description><![CDATA[<p>Excel is one of the widely used spreadsheet applications created by Microsoft for Windows, MacOS, Android and iOS. In this article, we will be focusing on some of the major differences between Excel for Windows &#38; Mac. Power Pivot &#38; Power Charts The below table clearly shows the major differences in windows and MacOS versions &#8230; </p>
<p class="link-more"><a href="https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/" class="more-link">Continue reading<span class="screen-reader-text"> "MS Excel for Windows Vs Mac: Who wins the race?"</span></a></p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/">MS Excel for Windows Vs Mac: Who wins the race?</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Excel is one of the widely used spreadsheet applications created by Microsoft for Windows, MacOS, Android and iOS. In this article, we will be focusing on some of the major differences between Excel for Windows &amp; Mac.</p>
<p><strong>Power Pivot &amp; Power Charts</strong></p>
<p>The below table clearly shows the major differences in windows and MacOS versions of Excel.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1.jpg"><img class="alignnone wp-image-1548 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1.jpg" alt="Excel Windows and MAC differences" width="477" height="194" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1.jpg 477w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-300x122.jpg 300w" sizes="(max-width: 477px) 100vw, 477px" /></a></p>
<p>Static Charts can be depicted in Mac, but they are not interactive like Windows excel charts and they don’t update upon changing the source pivot table. Any pivot table having source data based on Excel data model will be unfilterable if the spreadsheet is opened by a Mac user. The following image shows an error message while opening a file in MacOS.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2.jpg"><img class="alignnone wp-image-1549 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2.jpg" alt="Pivot table error message in MacOS" width="547" height="326" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2.jpg 547w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-300x179.jpg 300w" sizes="(max-width: 547px) 100vw, 547px" /></a></p>
<p><strong>VBA Editor User Interface</strong></p>
<p>The VBA editor on Excel for Mac 2016 is in a sorry state compared to its windows counterpart.</p>
<ul>
<li>‘Properties’ window is missing</li>
<li>Developing a ‘User form’ in Excel for Mac by using design mode would be a tedious job compared to Excel for Windows</li>
</ul>
<p>Importing VBA collections would be an added disadvantage</p>
<p><strong>VBA Workbook and Worksheet events</strong></p>
<p>If you are someone who uses worksheet events of VBA often, then you would be disappointed as there are no Workbook &amp; Worksheet VBA events in Excel MacOS. Thus, you should rely completely on VBA modules only.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3.jpg"><img class="alignnone wp-image-1550 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3.jpg" alt="VBA Events in MAC pop error message" width="611" height="355" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3.jpg 611w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-300x174.jpg 300w" sizes="(max-width: 611px) 100vw, 611px" /></a></p>
<p><strong>Default file location settings and Autosave workbooks</strong></p>
<ul>
<li>The windows version of excel enables you to set a default location for saving files. This setting is not available in Mac version of Excel</li>
<li>“AutoSave” is one of time saving features which automatically saves your workbook as a draft and enables you to retrieve older version of the file even if you didn’t save your changes. This feature too is no available in Mac version of Excel</li>
</ul>
<p><strong>Find and Replace formats</strong></p>
<p>In windows, find and replace dialog has an option to find cells based on their formats (Say, background color) and it would replace the found cells of the same background. This is not available in Excel for Mac.</p>
<p><strong>ActiveX Controls</strong></p>
<p>ActiveX controls are intended to be used with VBA programming, but this feature is not available in Mac version of excel. Thus, Excel VBA pros are restricted to use Form controls in excel MacOS.</p>
<p><strong>Relative references</strong></p>
<p>Irrespective of operating system, relative references are very useful in creating dynamic range while recording macro. Windows allows user to record macros in both absolute and relative references, but Mac doesn’t have relative reference feature while recording the macro.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Check out our Tableau pages</h2>
<ul>
<li style="list-style-type: none">
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-san-francisco-ca/">Tableau Freelance Developer San Francisco, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-san-jose-ca/">Tableau Freelance Developer San Jose, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-los-angeles-ca/">Tableau Freelance Developer Los Angeles, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-san-diego-ca/">Tableau Freelance Developer San Diego, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-sacramento-ca/">Tableau Freelance Developer Sacramento, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-dallas-fort-worth-tx/">Tableau Freelance Developer Dallas Fort Worth, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-austin-tx/">Tableau Freelance Developer Austin, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-san-antonio-tx/">Tableau Freelance Developer San Antonio, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-houston-tx/">Tableau Freelance Developer Houston, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-norwalk-ct/">Tableau Freelance Developer Norwalk, CT</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-chicago-il/">Tableau Freelance Developer Chicago, IL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-atlanta-ga/">Tableau Freelance Developer Atlanta, GA</a></li>
</ul>
</li>
</ul>
<div class="clear" style="clear: both;"></div>
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-philadelphia-pa/">Tableau Freelance Developer Philadelphia, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-pittsburgh-pa/">Tableau Freelance Developer Pittsburgh, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-phoenix-az/">Tableau Freelance Developer Phoenix, AZ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-boise-id/">Tableau Freelance Developer Boise, ID</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-new-york-ny/">Tableau Freelance Developer New York, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-rochester-ny/">Tableau Freelance Developer Rochester, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-jersey-city-nj/">Tableau Freelance Developer Jersey City, NJ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-washington-dc/">Tableau Freelance Developer Washington, DC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-charlotte-nc/">Tableau Freelance Developer Charlotte, NC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-seattle-wa/">Tableau Freelance Developer Seattle, WA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-miami-fl/">Tableau Freelance Developer Miami, FL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-freelance-developer-boston-ma/">Tableau Freelance Developer Boston, MA</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/">MS Excel for Windows Vs Mac: Who wins the race?</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.p2w2.com/blog/ms-excel-for-windows-vs-mac-who-wins-the-race/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XLOOKUP: A Brand-new formula in Office365</title>
		<link>https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/</link>
		<comments>https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/#respond</comments>
		<pubDate>Mon, 02 Dec 2019 03:30:55 +0000</pubDate>
		<dc:creator><![CDATA[Perceptive Analytics]]></dc:creator>
				<category><![CDATA[p2w2]]></category>

		<guid isPermaLink="false">https://www.p2w2.com/blog/?p=1552</guid>
		<description><![CDATA[<p>The wait is over!! Finally, Microsoft has released an update to Office365 with a brand-new formula “XLOOKUP”. XLOOKUP has the following advantages, compared to its predecessors. Can lookup on both left and right directions. Exact match is default. Can return FIRST or LAST match. XLOOKUP also replaces VLOOKUP &#38; HLOOKUP. Earlier, INDEX-MATCH formula combination was &#8230; </p>
<p class="link-more"><a href="https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/" class="more-link">Continue reading<span class="screen-reader-text"> "XLOOKUP: A Brand-new formula in Office365"</span></a></p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/">XLOOKUP: A Brand-new formula in Office365</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The wait is over!! Finally, Microsoft has released an update to Office365 with a brand-new formula “XLOOKUP”.</p>
<p>XLOOKUP has the following advantages, compared to its predecessors.</p>
<ul>
<li>Can lookup on both left and right directions.</li>
<li>Exact match is default.</li>
<li>Can return FIRST or LAST match.</li>
<li>XLOOKUP also replaces VLOOKUP &amp; HLOOKUP.</li>
</ul>
<p>Earlier, INDEX-MATCH formula combination was used to lookup values where HLOOKUP &amp; VLOOKUP fell short. Now, XLOOKUP can replace all other functions. It is a robust and easy to use formula which can lookup values from right to left and vice versa.</p>
<p><strong>Syntax:</strong></p>
<blockquote><p><em>=XLOOKUP(lookup_value,lookup_array,return_array,[match_mode],[search_mode])</em></p></blockquote>
<p><strong>Explanation</strong></p>
<p>Let us consider the below example to get deep insight of the formula. Our agenda is to fill column D of Table1 (Salary) using XLOOKUP</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-1.jpg"><img class="alignnone wp-image-1553 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-1.jpg" alt="Two distinct tables for Xlookup" width="575" height="227" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-1.jpg 575w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-1-300x118.jpg 300w" sizes="(max-width: 575px) 100vw, 575px" /></a></p>
<p><strong>Lookup_value: </strong>Exactly same as VLOOKUP. In this scenario, let us consider Column B of Table1 as our lookup value.</p>
<p><strong>Lookup_Array:</strong> Typically, the destination range/column where XLOOKUP will look for the match. Column H of Table2 would be our lookup array.</p>
<p><strong>Return_Array:</strong> This argument is asking for the return value. In this case, we want salary column to be filled so we would consider Column G of Table2 as the return value.</p>
<p><strong>[match_mode]:</strong> This is an optional argument in XLOOKUP formula. It can be any one of the following. By default, it is “Exact Match”.</p>
<ul>
<li>0 – Exact match</li>
<li>-1 – Exact match or next smaller item</li>
<li>1 – Exact match or next larger item</li>
<li>2 – Wildcard character match.</li>
</ul>
<p><strong>[Search_mode]:</strong> It can be either 1 or -1. “1” is to search from first to last and “-1” is from last to first.</p>
<p>Let us write the below formula in cell “D3” of table1 and the output looks as below.</p>
<blockquote><p>XLOOKUP($B$3:$B$9,$H$3:$H$9,$G$3:$G$9,0,1)</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-1.jpg"><img class="alignnone wp-image-1554 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-1.jpg" alt="Xlookup output" width="577" height="225" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-1.jpg 577w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-1-300x117.jpg 300w" sizes="(max-width: 577px) 100vw, 577px" /></a></p></blockquote>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/">XLOOKUP: A Brand-new formula in Office365</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.p2w2.com/blog/xlookup-a-brand-new-formula-in-office365/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to accelerate excel performance?</title>
		<link>https://www.p2w2.com/blog/how-to-accelerate-excel-performance/</link>
		<comments>https://www.p2w2.com/blog/how-to-accelerate-excel-performance/#respond</comments>
		<pubDate>Thu, 28 Nov 2019 03:30:04 +0000</pubDate>
		<dc:creator><![CDATA[Perceptive Analytics]]></dc:creator>
				<category><![CDATA[p2w2]]></category>

		<guid isPermaLink="false">https://www.p2w2.com/blog/?p=1559</guid>
		<description><![CDATA[<p>Efficiency is one of the key elements to evaluate any application. Excel has always topped the race in efficiency when compared to other spreadsheet applications. But there are some instances where Excel lags in performance which could affect productivity. In this article let us look at some of the key elements that would help to &#8230; </p>
<p class="link-more"><a href="https://www.p2w2.com/blog/how-to-accelerate-excel-performance/" class="more-link">Continue reading<span class="screen-reader-text"> "How to accelerate excel performance?"</span></a></p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/how-to-accelerate-excel-performance/">How to accelerate excel performance?</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Efficiency is one of the key elements to evaluate any application. Excel has always topped the race in efficiency when compared to other spreadsheet applications. But there are some instances where Excel lags in performance which could affect productivity. In this article let us look at some of the key elements that would help to enhance the performance of Excel.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-2.jpg"><img class="size-full wp-image-1560 aligncenter" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-2.jpg" alt="Excel Performance Accelerator" width="225" height="225" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-2.jpg 225w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-2-150x150.jpg 150w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-2-100x100.jpg 100w" sizes="(max-width: 225px) 100vw, 225px" /></a></p>
<p>Excel 2007 and later versions have “Big grid” (1 Million rows and 16,000+ columns) compared to their previous versions. Since the capacity of the application has increased, there are more chances for performance degradation as we would be dealing with huge amount of data.</p>
<p><strong>1. Switch to Manual Calculation mode from Automatic</strong></p>
<p>By default, automatic calculation is the default option while working on Excel. In this mode, whenever we change the content of any cell in our workbook, all formula in all cells of all open workbooks would be recalculated. We won’t realize the time spent in formula recalculation as long as it is less than a tenth of a second, all put together. As this calculation time increases, annoyance starts to increase, especially for repetitive tasks. In this situation’s users can switch to “Manual calculation” option in the formulas tab. In this mode, formula would be recalculated only when ‘Calculate Now’ or ‘Calculate Sheet’ button is pressed.</p>
<p><strong>2. Avoid Circular references</strong></p>
<p>As calculations are single threaded, multiple references to one or more formula could slow down the performance. Minimizing the use of circular references can boost the formula calculation time.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-2.jpg"><img class="size-full wp-image-1561 aligncenter" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-2.jpg" alt="Excel Circular reference" width="285" height="177" /></a></p>
<p><strong>3. Avoid links across workbooks</strong></p>
<p>Try to avoid links between workbooks. If links are not removed, opening of that workbook could end up in evaluating the link from the source. This can easily increase the calculation time. Best practice is to paste special the formulas into values, which can save your memory and increase calculation time as well.</p>
<p><strong>4. Write efficient formulas</strong></p>
<p>Writing efficient formulas will add value to the calculation time. Nested formulas, array formulas, unsorted columns, redundant data can lead to performance degradation. For example, VLOOKUP and HLOOKUP with exact match would take more calculation time than approximate match after sorting the same data. So, better understanding of logic and using the right formula can increase Excel performance.</p>
<p><strong>5. Use conditional formatting cautiously</strong></p>
<p>We should be very cautious while using any formatting option in Excel, especially while using conditional formatting because of its volatile nature. Apply the formatting only to the used range and make sure you haven’t selected the entire column/row while applying these formats. This can increase Excel performance.</p>
<p>There are many other elements to be considered to improve performance of an application. The above mentioned are few among them and these are the key to accelerate the performance of an Excel application.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Check out our Tableau pages</h2>
<ul>
<li style="list-style-type: none">
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-san-francisco-ca/">Tableau Partner Company San Francisco, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-san-jose-ca/">Tableau Partner Company San Jose, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-los-angeles-ca/">Tableau Partner Company Los Angeles, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-san-diego-ca/">Tableau Partner Company San Diego, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-sacramento-ca/">Tableau Partner Company Sacramento, CA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-dallas-fort-worth-tx/">Tableau Partner Company Dallas Fort Worth, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-austin-tx/">Tableau Partner Company Austin, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-san-antonio-tx/">Tableau Partner Company San Antonio, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-houston-tx/">Tableau Partner Company Houston, TX</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-norwalk-ct/">Tableau Partner Company Norwalk, CT</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-chicago-il/">Tableau Partner Company Chicago, IL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-atlanta-ga/">Tableau Partner Company Atlanta, GA</a></li>
</ul>
</li>
</ul>
<div class="clear" style="clear: both;"></div>
<ul>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-philadelphia-pa/">Tableau Partner Company Philadelphia, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-pittsburgh-pa/">Tableau Partner Company Pittsburgh, PA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-phoenix-az/">Tableau Partner Company Phoenix, AZ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-boise-id/">Tableau Partner Company Boise, ID</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-new-york-ny/">Tableau Partner Company New York, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-rochester-ny/">Tableau Partner Company Rochester, NY</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-jersey-city-nj/">Tableau Partner Company Jersey City, NJ</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-washington-dc/">Tableau Partner Company Washington, DC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-charlotte-nc/">Tableau Partner Company Charlotte, NC</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-seattle-wa/">Tableau Partner Company Seattle, WA</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-miami-fl/">Tableau Partner Company Miami, FL</a></li>
<li><a href="https://www.perceptive-analytics.com/tableau-partner-company-boston-ma/">Tableau Partner Company Boston, MA</a></li>
</ul>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/how-to-accelerate-excel-performance/">How to accelerate excel performance?</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.p2w2.com/blog/how-to-accelerate-excel-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intro to Power query in Excel</title>
		<link>https://www.p2w2.com/blog/intro-to-power-query-in-excel/</link>
		<comments>https://www.p2w2.com/blog/intro-to-power-query-in-excel/#respond</comments>
		<pubDate>Mon, 25 Nov 2019 03:30:23 +0000</pubDate>
		<dc:creator><![CDATA[Perceptive Analytics]]></dc:creator>
				<category><![CDATA[p2w2]]></category>

		<guid isPermaLink="false">https://www.p2w2.com/blog/?p=1563</guid>
		<description><![CDATA[<p>This tool is generally referred to as ‘Power Query’ when searching for information online. However, with Excel 2016, the tool is also commonly referred to as ‘Get and Transform’. It can link to external data from many different types of sources into local data model in Excel or display them as tables. It uses the &#8230; </p>
<p class="link-more"><a href="https://www.p2w2.com/blog/intro-to-power-query-in-excel/" class="more-link">Continue reading<span class="screen-reader-text"> "Intro to Power query in Excel"</span></a></p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/intro-to-power-query-in-excel/">Intro to Power query in Excel</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>This tool is generally referred to as ‘Power Query’ when searching for information online. However, with Excel 2016, the tool is also commonly referred to as ‘Get and Transform’. It can link to external data from many different types of sources into local data model in Excel or display them as tables. It uses the M Language to record each step we make and lets us to modify those steps in way we want.</p>
<p>Power Query is one of the most powerful tools added to Excel. There is lot of potential to save time in repetitive data cleaning and formatting using this. It can be accessed by clicking Data -&gt; Get Data -&gt; Launch Power Query editor.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-3.jpg"><img class="alignnone wp-image-1564 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-3.jpg" alt="Excel get data option to select the data source" width="744" height="509" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-3.jpg 744w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/1-3-300x205.jpg 300w" sizes="(max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px" /></a></p>
<p>Connect, Transform, Combine and Share are the sequence of steps to blend data make the data model, using Power Query.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-3.jpg"><img class="alignnone wp-image-1565 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-3.jpg" alt="Phases of data transformation from data source in excel" width="497" height="195" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-3.jpg 497w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/2-3-300x118.jpg 300w" sizes="(max-width: 497px) 100vw, 497px" /></a></p>
<p><strong>Connect</strong></p>
<p>Power Query can be connected to single or multiple data sources like Excel workbook, databases, feeds and cloud services. Microsoft always updates the new data connections to Power Query, so you should update the App to get them added.</p>
<p>Once you connect to any of the data sources then you can directly load data into excel or edit using Power Query by clicking on the option provided. The below snap shows the number of data connections available in Power Query.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-1.jpg"><img class="alignnone wp-image-1566 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-1.jpg" alt="Different data sources in excel" width="996" height="411" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-1.jpg 996w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-1-300x124.jpg 300w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/3-1-768x317.jpg 768w" sizes="(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></a></p>
<p><strong>Transform</strong></p>
<p>Power Query lets you remove column, change data type, merge tables etc. Each of these actions is a transformation. The above-mentioned options are available in Query Editor/Transform of the Power Query ribbon. The Query Editor records each step you apply to the data.</p>
<p><a href="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.png"><img class="alignnone wp-image-1567 size-full" src="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.png" alt="Transform option in Power query menu" width="1168" height="116" srcset="https://www.p2w2.com/blog/wp-content/uploads/2019/11/4.png 1168w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/4-300x30.png 300w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/4-768x76.png 768w, https://www.p2w2.com/blog/wp-content/uploads/2019/11/4-1024x102.png 1024w" sizes="(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px" /></a></p>
<p><strong>Combine</strong></p>
<p>You can combine data from multiple data sources into single data model to get unique view into the data. There is no specific option called combine in Power Query. You can achieve this by writing a query or merge/grouping different tables and make them a single table with a unique reference. We can load the merged data into excel for further analysis.</p>
<p><strong>Share</strong></p>
<p>After applying all the conditions/queries on the loaded data. The result will be the processed information. We can save, share or use it for further analysis. Typically, you can use these reports in excel, power BI or any other BI tools for analysis and visualization.</p>
<p>The post <a rel="nofollow" href="https://www.p2w2.com/blog/intro-to-power-query-in-excel/">Intro to Power query in Excel</a> appeared first on <a rel="nofollow" href="https://www.p2w2.com/blog">Your Excel Partners</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.p2w2.com/blog/intro-to-power-query-in-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
