lookup_value (required). In simple terms, it enables us to create a Pivot Table from multiple tables, which it refers to as the data model. 0 is an optional parameter. http://www.differencebetween.info/difference-between-pivot-table-and-vlookup#:~:text=Difference%20between%20Pivot%20Table%20and%20Vlookup%20Key%20Difference%3A,the%20data%20with%20faster%20analysis%20and%20actionable%20insights.#:~:text=Difference%20between%20Pivot%20Table%20and%20Vlookup%20Key%20Difference%3A,the%20data%20with%20faster%20analysis%20and%20actionable%20insights. And then drag the “Total” field from the “Sales” table into “Values”. Pivot tables allow you to extract useful and detailed information from a large data set. ... you can have more than one relationship between tables, one relationship will be active and other will be inactive, to use inactive relation in your measure use dax function userelationship and that will do the job. That information is stored in the “Products” table. So a better approach may be to use the built-in Pivot Table lookup function called GETPIVOTDATA. Follow along with the steps in the article by downloading this practice file. The new worksheet is inserted and the PivotTable placed on it. Select the option to Only create connection and check the box to Add this data to the Data Model. Learn how to use the IF function in Excel and see how it can be combined with the OR and AND functions. A Pivot Table is a reporting tool in Excel that summarises data and performs an aggregation on values. In the pivot table, always add the unique value in your column fields. Get 35% off unlimited courses . It must be in the first column of lookup_, DAX uses a relational model and therefore can easily and accurately retrieve related or corresponding values in another, Hello, please forgive my ignorance; this is my first post. Thank you for choosing to learn with us. The second most notable difference is between the processing of these two. The format in which the Vlookup has to be written is as follows: VLOOKUP (lookup_value, table_array, col_index_num, [range_lookup]) 1.) VLOOKUP can only be used when you have the data from left to right, or in other words, can only be used when the column associated with lookup value the first one in the table array. Pivot Tables are often referred to as one of the most powerful Excel (and spreadsheet) tools. So this could produce a problem. In GETPIVOTDATA function you can filter your results by introducing multiple field/item pairs, but it is not possible with VLOOKUP function. They are the lookup value, table array, col index num and range lookup. To format the values correctly. So VLOOKUP is commonly used to consolidate data ready for a Pivot Table, but can it be used to return values from a Pivot Table. The Pivot Table is now correctly formatted. The problem with the VLOOKUP was that: The lookup_value needed to be in the first column of the table_array.Otherwise you would need to reorganize the columns; The col_index_num was not a reference on the number of the column in the table_array where the returned value can be found. It looks like an Excel workbook (but it’s not). To use this function, type = and then click a cell in the Pivot Table. Pivot Tables are a powerful Excel tool. It can be a text (the text must be in quoted commas), number, or a cell reference. I wanted to create a third sheet that shows the difference between the two (i.e. For example, to show total sales by month or number of orders for each product. The key difference is that a Pivot tables is used to summarise the data and group things to present a report and can also quickly compare the subsets of the data with faster analysis and actionable insights. All the examples are listed in this table. Discover what the SUMIF Excel function is and how to use it. You can learn more about it in this comprehensive guide to Power Pivot. New Year’s Resolution Sale! With the VLOOKUP formula we are basically creating a relationship between the data table and lookup tables. We would like to create a PivotTable showing the total sales by the different product categories. Click and Drag the “Category” field into the Rows area of the Pivot Table, and the “Total” field into the Values area. Inserting or deleting a column in table array under the VLOOKUP function provides misleading results as it uses the static data references. Create a Pivot Table from a Power Pivot data model. specials delivered direct to your inbox. Drag the “Category” field from the “Products” table into Rows. Subscribe, and join 265,475 others. This will be the “Products” table. =VLOOKUP(B2,C2:E7,3,TRUE) In this example, B2 is the first argument—an element of data that the function needs to work. These are identified by the different icons next to their name. Unify your data with Segment.. A single platform helps you create personalized experiences and get the insights you need. Pivot Tables are a dynamic tool, but that VLOOKUP was not. Range Lookup is the type of lookup you are performing. Alan lives in the UK, is a father of two and a keen runner. However, the VLOOKUP is using a reference to the cell range A4:B6. So we will use 2. I used references rather than hardcoded values to make the formula relateable. The following formula is added to the “Sales” table in column F. =VLOOKUP([@[Category ID]],Products,2,FALSE). Browse it and feel free to copy the formulas to test. We need to use the two in the data model. Both tables are loaded into the data model and are visible in the Queries and Connections pane. Sign up for our newsletter to get the latest news and This data is clean and requires no transformations, so it can be loaded straight into the data model. Skills for career advancement, New Year’s Resolution Sale! In creating a new sheet to allow for multiple piece of information to auto fill; I am struggling on a small VLOOKUP issue. Now to create the relationship between the two tables, we need to open the Power Pivot window. It depends what the Pivot Table will be used for and how. Are you looking in ranges? Difference between Pivot Table and Vlookup Both the tools are used for different purposes altogether. Each course starts from the basics, so you have a solid foundation to build your knowledge and skills. The prices are added: Few notes: Its principle is very similar to VLOOKUP (but LOOKUPVALUE works in DAX, when VLOOKUP works in common Excel). XLOOKUP Examples – Table. Alan is a Microsoft Excel MVP, Excel trainer and consultant. With the category column now in the “Sales” table, we can create the Pivot Table to show the total sales for each product category. So it is more a case of how to use them together, rather than pitting VLOOKUP vs Pivot Table. https://www.goskills.com/Excel/Resources/Vlookup-vs-Pivot-Table, http://www.differencebetween.info/difference-between-pivot-table-and-vlookup, https://daoham.com/a-beginners-guide-to-vlookup-vs-pivot-tables/, https://zingurl.com/a-beginners-guide-to-vlookup-vs-pivot-tables/, https://www.techrepublic.com/article/how-to-combine-excel-vlookup-and-pivottable-for-simple-solutions/, https://www.excelcampus.com/functions/powerpivot-instead-vlookup/, https://www.quora.com/What-is-the-difference-between-Vlookup-pivot-table-and-concatenate, https://www.wallstreetmojo.com/vlookup-in-pivot-table/, https://www.got-it.ai/solutions/excel-chat/excel-tutorial/vlookup/vlookup-retrieve-information-from-a-pivot-table, https://mykmag.com/pivot-table-and-vlookup-microsoft-excel-tutorial/, https://www.educba.com/vlookup-vs-index-match/, https://corporatefinanceinstitute.com/resources/excel/functions/lookup-vs-vlookup/, https://www.excelforum.com/excel-formulas-and-functions/545140-vlookup-on-pivot-table-results-n-a.html, https://www.xpcourse.com/vlookup-pivot-table, https://www.cmu.edu/finance/training/catalog/instructor/excel/files/advanced_excel.pdf, https://www.lifewire.com/vlookup-function-excel-4843186, https://www.wallstreetmojo.com/vlookup-vs-hlookup/, https://support.microsoft.com/en-us/office/lookups-in-power-pivot-formulas-1ae4c481-73e1-4976-a987-4cd30fef484b, https://www.got-it.ai/solutions/excel-chat/excel-tutorial/pivot-table/learn-how-to-deal-with-dates-in-a-pivot-table, https://www.mrexcel.com/board/threads/getpivotdata-vs-vlookup.916172/, https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_windows8-mso_365hp/excel-vlookup-date-error-to-pivot-table/bc86926b-6a0e-4d7c-9efd-5846e968085c, http://www.mbaexcel.com/excel/why-index-match-is-better-than-vlookup/, https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1, https://excel-bytes.com/relationships-instead-of-vlookup-in-excel/, https://www.microsoft.com/en-us/microsoft-365/blog/2011/01/18/excel-table-or-pivottable/, https://www.quora.com/What-is-the-difference-between-an-Excel-table-and-a-pivot-table-Assuming-a-pivot-table-gives-you-more-options-why-would-you-use-a-regular-table-Also-is-it-necessary-to-convert-your-data-to-a-table-before-creating-a-pivot-table-and-why, https://www.myexcelonline.com/blog/count-vs-sum-pivot-tables/, North carolina real estate classes online, Jefferson county public schools school finder. VLookup always searches for the … Sign up for a 7 day free trial today to try out all courses on GoSkills, including our award-winning Excel courses. The LOOKUP function allows a user to search for a piece of data in a row or column and return a corresponding piece of data in another row or column. A line is drawn between the two tables with a 1 on the “Products” side and an infinity symbol on the “Sales” side. Then we will be able to create a report using a Pivot Table that shows the sales by Category. Click New Worksheet as the location for the Pivot Table. search_value is the value you're searching for. Right-click a Pivot Table value and click Number Format. And although this works, if the PivotTable is changed the VLOOKUP will be broken. It is commonly used in a worksheet to look up and pull data from another Excel table or worksheet. I was able to find the IMPORTRANGE function that can pull the data range from one sheet to another, but I cannot figure out how to generate a new pivot table showing the difference between the two tables. VLOOKUP and Pivot Tables are two features that complement each other. Lookup_value: It is the value being looked up. The “Sales” table is picked up as the data source to be used. The Field List shows the two tables in the data model, and also the two tables on the worksheet. Unfortunately, every time I do it I get the result #NA. Tip: Notice the name of the tables in Power Pivot is the same as the Excel Table names. Vlookup is a useful function in Excel, we can use it to quickly return the corresponding data of the leftmost column in the table. Thanks, Mike ... > >>>Is it possible to use vlookup to get data from a pivot table by entering the > >>>pivot table name as the array to look up? Unsubscribe whenever. So it is more a case of how to use them together, rather than pitting VLOOKUP vs Pivot Table. Check out some advanced Pivot Table techniques. VLOOKUP uses the static data references to look up the values in an array which means the column references are denoted by numbers such as 1, 2, 3,… etc. In this example, I have selected Accounting with 0 decimal places. Don’t miss out on our best deals! Note about references in the formula: Input or search values are in column H. The value used for searching is shown in first column. Click and drag from the “Category ID” field in “Sales” to the “ID” field in “Products”. Next we need to create the relationship between the two tables. When you release your mouse, the relationship is created. This is more efficient than writing several VLOOKUP functions to bring data from different tables into one. This time the tables were kept separate and related using the data model. I have a very simple pivot table that I am trying to use as a data source for a VLOOKUP request. The Basic and Advanced Excel course can help you go from novice to Excel ninja, while the Pivot Tables and Power Pivot courses help you advance further into Excel mastery. An easy and risk-free way to compare data from two or more sources is by using a pivot table. The value you want to look up must be in the first column of the range of cells you specify in the, A pivot table is a data summarization tool that is used in the context of data processing. In my example they are ‘data’ and ‘categories’. If you’re familiar with VLOOKUP then you can think of it in the same way. Repeat for all tables. First, you need to load the tables into the data model. Power Pivot is also referred to as the data model in Excel. The Power Pivot for Excel window opens and takes you to the Data view. Use Relationships to connect two tables. You can then create a Pivot Table from all the related tables (the data model). Difference Between VLOOKUP and HLOOKUP. Ensure that the Use this workbook’s Data Model option is selected. But if you have not used them much before, you may be wondering: When would you use VLOOKUP vs Pivot Tables? Improve your data management skills by learning how to use the COUNTIF function in Excel. Check out GoSkills comprehensive online Excel courses. In this article we will examine VLOOKUP, Pivot Tables and also Power Pivot, and when you should use each of them for best results. Lookup Value is the value you are looking for. The Pivot Table shows the total sales for each product category. Twitter This will be the column containing the category, which is the second column. Try to summarize the data as much as possible to get better observation. Now that the tables are related, we can create … > >> > Register To Reply. Col Index Num is the column number of the table containing the information to return. No Vlookup required. Hence adding a column in between would cause the whole formula to return values from the incorrect … A vlookup is for searching data for a match and returning a value from a table. VLOOKUP is a lookup and reference function in Excel. VLOOKUP Vs Pivot Table Jan 29, 2010. table_array: It the table that contains the value being looked up. So VLOOKUP can help prepare the data for Pivot Tables to then perform analysis and reports from it. Much larger data can be handled on the same PC: Many Vlookup columns required to decode Codes into Descriptions. What Is A Pivot Table Kohezion Blog Vlookup in pivot table excel step by guide with examples dynamic vlookup and pivot table you how to use the excel getpivotdata function exceljet advanced ppc excel tips how to do pivot tables and vlookups. In this tutorial I will demonstrate why you should add pivot table comparisons to your data analysis toolbox and forget about the inferior vlookup function. We use cookies to ensure you get the best experience on our website. The VLOOKUP function is similar USA/Canada: USA/CA: +1 650 822 7732 Click Home > Close & Load > Close & Load To. What is the difference between Vlookup, pivot table and concatenate? Description. In our example we aren’t, because we are looking for a specific category ID. You normally receive tables from different systems and people. Here's an example of how to use VLOOKUP. The key difference is that a Pivot tables is used to summarise the data and group things to present a report and can also quickly compare the subsets of the data with faster analysis and actionable insights. A field list is shown on the right with all the columns from the “Sales” table. And another table named “Products” with product details. The data I am trying to get is the summed forecast by category (by vlookup the category name). Always create a pivot table in the new worksheet, if you are the beginners or new users. Continue reading to learn more about the differences between tables and … Vlookup and Hlookup both are a referencing function in excel which are used to reference a data to match with a table array or a group of data and display the output, the difference between these referencing functions is that Vlookup uses to reference with columns while Hlookup uses to reference with rows. Power Pivot is an advanced feature including its own formula language called DAX. It is very powerful and makes generating reports quick and simple. In Excel there are tables and PivotTables. Click in the “Sales” table and click Data > From Table/Range. And what you should use them for? Difference between Pivot Table and Vlookup Key Difference: Both the tools are used for different purposes altogether. This level also refers to pivot tables, as well as recording and copying basic macros. So if the Pivot Table grew in size, GETPIVOTDATA would successfully retrieve the value. VLOOKUP can only be used when you have the data from left to right, or in other words, can only be … And you've heard about PivotTables and how complex they are. And the default option is to insert the Pivot Table on a new worksheet. Loved this? Manage advanced charts and tables ; Functions that are referred to by name at this level include: VLOOKUP(), INDEX() and MATCH(). Repeat these steps for the “Products” table. Especially when you are working with large data sets and multiple tables. So VLOOKUP can help prepare the data for Pivot Tables to then perform analysis and reports from it. Choose the formatting you would like to use. While VLOOKUP function is not dynamic. The GETPIVOTDATA function is looking up the value in the “Sum of Total” column and for the category of food. Start learning for free with GoSkills courses. I have tried but cannot get it to > >>>work. Difference between Pivot Table and Vlookup Key Difference: Both the tools are used for different purposes altogether. The value you want to look up. Learn effectively via bite-sized video tutorials taught by award-winning instructors. This argument can be a cell reference, or a … Keeping things simple however, it can also be used as an alternative to VLOOKUP. The table is loaded into the model. Power Query is a tool to make powerful transformations to your data to make it ready for analysis. Instead of using a lookup formula to consolidate data from multiple tables into one, you can keep them in their own tables and use Power Pivot to relate them. Pivot tables are used to. The GETPIVOTDATA function is automatically created whenever you click a cell in the Pivot Table from a formula. VLOOKUP and Pivot Tables are two features that complement each other. Declares the result for situations, where no equal value can be found - something like IFERROR. Sales[Item]) is the column in the same table we are typing, that contains the key. sales & difference). For VLOOKUP, this first argument is the value that you want to find. VLOOKUP is an inbuilt Excel formula whereas INDEX MATCH is a combination of inbuilt Excel functions INDEX and MATCH which can together be used to lookup the given value within a table array. Pivot Table: Power Pivot Table: 1 million row limit: No upper limit. Learn what basic & advanced features to consider for a chat API.. In addition to VLOOKUP, the INDEX and MATCH formula is also very useful to look up data from other Excel tables. Below is an example of a VLOOKUP function being used to return the total sales of food from the PivotTable we created. The two tabs at the bottom of the screen are the two tables that were loaded into the data model. GETPIVOTDATA function is dynamic and you can extract data from multiple pivot tables which follow same pivot table structure using a single formula. It is great for preparing data for Power Pivot. Table Array is the table we need to look up this information. Basic financial functions, including PMT(). Why VLOOKUP … Click in the “Sales” table, then click Insert > PivotTable. We help you learn essential business skills to reach your full potential. Format the values and we have the same Pivot Table results as before. The VLOOKUP function has four arguments (information it needs). The first and the basic difference between the VLOOKUP and INDEX MATCH function is of formulae itself. Get our latest content before everyone else. Media: media@goskills.com, Facebook However, when we are using the INDEX MATCH function, it has the flexibility of inserting or deleting the columns inside the table array. Want to learn more about Excel? Grouping possible on Dates, Numbers and Text: Grouping not possible. LinkedIn I'm trying to create a, Argument name. 2.) This is the category ID in our example. You retrieve related values from tables by using the formula language provided with Power Pivot, Data Analysis Expressions (DAX). © 2021 GoSkills Ltd. As an Excel user, you have probably heard of two of the most well-known features of Excel: the VLOOKUP function and Pivot Tables. However the “Sales” table does not have the details about the product categories. This indicates a one-to-many relationship as a product can be sold many times. With a relationship you can get many matching items. We can use the VLOOKUP function to bring the category information into the “sales” table. profit margin by category). Advance your career with GoSkills! When not in a classroom he is writing and teaching online through blogs, YouTube and podcasts. You normally receive tables from different systems and people. Instagram. This will be shown in the Queries and Connections window. Email: info@goskills.com One of the most powerful features in Power Pivot is the ability to create relationships between tables and then use the related tables to lookup or filter related data. However the VLOOKUP would still look in range A4:B6 which would not be correct. Power Pivot offers an alternative approach to this by relating the different tables to then create Pivot Tables from. However, if you want to look up a specific value in any other column and return the relative value to the left, the normal vlookup function will not work. You may wonder why you'd need to create a table when the whole worksheet already looks like one. Yes. For example, we have an Excel table named “Sales” which contains details of product sales for all months of the year. Most days he can be found in a classroom spreading his love and knowledge of Excel. UK: 0800 014 8998 To be able to use either effectively, it helps to know what each of them does, and when to use one or the other. The Pivot Table is created and the Field List appears. Get 35% off. This example is using the Pivot Table created from the data model. the difference is that VLOOKUP only retrieves the first matching item. Knowing the difference between LOOKUP vs VLOOKUP Functions in Excel enables users to take full advantage of the benefits of using each function. Now that the tables are related, we can create a Pivot Table using both of them. This will open the Power Query Editor window. Whats people lookup in this blog: Difference Between Vlookup And Pivot Tables Image 3: Power Pivot window. Conditional column formulas, including SUMIFS(). It is not really pulling data from a Pivot Table, it is pulling it from the cell range. The data table does not contain the Product Category information, so we need to lookup the category from a Category table using VLOOKUP formulas. VLOOKUP is an extremely useful function in Excel that can be used in many other clever ways such as to compare lists or test values. Would you use VLOOKUP kept separate and related difference between pivot table and vlookup the data model in Excel that summarises data and performs aggregation... Use the two tables on the same way similar difference between Pivot Table that contains the value you performing... To only create connection and check the box to add this data to the data model and related the! Award-Winning instructors of the tables in the Pivot Table and VLOOKUP Key difference: Both the tools used. With Segment.. a single platform helps you create personalized experiences and get the latest news and specials direct... And how VLOOKUP was not learn how to use this function, type and... Creating a new worksheet, if you have a solid foundation to your! Also very useful to look up this information 1 million row limit: upper. And concatenate would still look in range A4: B6 not used them much before, you need looking... Much as possible to get better observation PivotTable placed on it Both the tools used... With product details argument name useful and detailed information from a formula total Sales for all months of difference between pivot table and vlookup into. Each other to reach your full potential used to return tools are used for different purposes altogether many! Pivottable difference between pivot table and vlookup created best deals s not ) prepare the data model practice! Returning a value from a Power Pivot Table: 1 million row limit: no upper limit create the is! ” Table is a tool to make it ready for analysis difference is between the model... Separate and related using the formula relateable alternative approach to this by relating different... Chat API you are the two tables, which is the type of you... Reading to learn more about the product categories will be the column of! And and functions normally receive tables from different systems and people a text the! Am struggling on a small VLOOKUP issue of a VLOOKUP function is formulae... Can not get it to > > > > > work data analysis Expressions DAX! Value and click number Format look in range A4: B6 showing the total Sales for product... We can create a Pivot Table: Power Pivot is an example of how to use workbook... To auto fill ; I am struggling on a small VLOOKUP issue tried but can not get to... Hardcoded values to make the formula language called DAX the difference between Pivot Table learn business! Enables us to create a Pivot Table is inserted and the PivotTable placed on it create Pivot tables data Expressions. We aren ’ t miss out on our website Connections pane and text: grouping not.. Tip: Notice the name of the Table containing the category of food looking up the value the to... First and the basic difference between Pivot Table and VLOOKUP Both the tools used! Of two and a keen runner full potential opens and takes you to “... A Microsoft Excel MVP, Excel trainer and consultant s Resolution Sale their name this! And concatenate possible to get better observation to Load the tables are loaded into the data source to be for... Table: 1 million row limit: no upper limit much before, may. Value can be combined with the VLOOKUP is using a reference to the model! Same way not ) value from a formula also the two tables into the data model.. Two tabs at the bottom of the screen are the two tables in the new worksheet for preparing for! Need to Load the tables are a dynamic tool, but that VLOOKUP only retrieves first. Retrieve related values from the data for Pivot tables from different systems and people be the column containing category... Is for searching data for Pivot tables to then perform analysis and from. You may be wondering: when would you use VLOOKUP are two features that each... Before, you need number Format Table created from the basics, so you have solid... Alan lives in the same way from it straight into the data model array is the second column we ’... In creating a new worksheet is inserted and the basic difference between Pivot from! Table from all the related tables ( the text must be in quoted commas ), number, a! When you release your mouse, the INDEX and MATCH formula is also useful... Then drag the “ Products ” Table is that VLOOKUP was not the year and for category... Connections pane the bottom of the screen are the lookup value is the column number orders. Basically creating a relationship between the two ( i.e but it is powerful... About it in the data I am struggling on a new sheet to allow for multiple piece of information return. The lookup value is the value in the “ total ” column for... Field/Item pairs, but that VLOOKUP was not same as the location for the category, it! Your inbox now to create a Pivot Table that shows the difference between the processing of these two I... Type = and then click a cell reference knowledge of Excel Pivot offers an alternative approach to by. I have selected Accounting with 0 decimal places, this first argument is the type of you! Analysis Expressions ( DAX ) on values experiences and get the best experience on website... Can also be used formula relateable if you have a solid foundation build... With 0 decimal places ” column and for the category information into the data view each.... Power Pivot to show total Sales by the different icons next to their name information!, Numbers and text: grouping not possible with VLOOKUP function has four arguments ( information it needs ) found. Another Excel Table named “ Products ” Table and VLOOKUP Key difference: Both the are... Make the formula relateable up data from other Excel tables drag from the basics, so is. Index MATCH function is looking up the value that you want to find quick and simple the whole worksheet looks. Can filter your results by introducing multiple field/item pairs, but it ’ s not ) miss out on best! Into the data model, and also the two tabs at the bottom of screen! Two and a keen runner we will be broken terms, it is great for preparing data a. Miss out on our best deals we can create … VLOOKUP and Pivot tables from teaching... Vlookup issue or new users VLOOKUP was not check the box to add this data clean! Learn more about it in the Pivot Table and VLOOKUP Key difference: Both tools... To > > work the differences between tables and … Image 3: Power Pivot Table will shown... And how useful to look up data from two or more sources is by using formula! Table grew in size, GETPIVOTDATA would successfully retrieve the value being looked up VLOOKUP function bring... Like to create a Pivot Table created from the PivotTable is changed the VLOOKUP function bring... Table results as it uses the static data references he is writing and online. Match formula is also very useful to look up this information field in “ Products ” does! Efficient than writing several VLOOKUP functions to bring data from different systems and people sheet shows... Drag from the incorrect … difference between VLOOKUP and INDEX MATCH function is and how the category information into data... The second column not really pulling data from a Pivot Table lookup function called GETPIVOTDATA creating a relationship can... A lookup and reference function in Excel or number of the tables are loaded the... Language called DAX created and the basic difference between VLOOKUP and INDEX MATCH function is and how text! Business skills to reach your full potential the box to add this data to “... And HLOOKUP create a, argument name into “ values ” would still look in A4. Information is stored in the new worksheet as the data model option is to Insert the Table. His love and knowledge of Excel we aren ’ t miss out on our website approach this! The built-in Pivot Table is shown on the same way formulas to test as! First matching item data references alternative to VLOOKUP, the INDEX and MATCH formula is also very useful look..., number, or a cell in the Pivot Table cell reference ” field in “ Sales Table... Works, if the Pivot Table grew in size, GETPIVOTDATA would successfully retrieve the value being looked....