+ Reply to Thread
Results 1 to 8 of 8

Can I do a VLookup off of a Pivot table?

  1. #1
    Registered User
    Join Date
    09-26-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    63

    Can I do a VLookup off of a Pivot table?

    Every time I try to do a Vlookup off of the pivot table I keep getting N/A. Is there any changes to the formula I could make to retrieve the proper information?

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Can I do a VLookup off of a Pivot table?

    you can use getpivotdata instead of vlookup
    If I've helped U pls click on d *Add Reputation

  3. #3
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Can I do a VLookup off of a Pivot table?

    Either Vlookup or GetPivotData seem to work in the attachment.
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  4. #4
    Registered User
    Join Date
    09-26-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    63

    Re: Can I do a VLookup off of a Pivot table?

    I attached a sheet where I tried to create a GETPIVOTDATA formula for the new page and it just isnt coming through correctly. Can anyone see where the error in my formula is? on the second tab.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Can I do a VLookup off of a Pivot table?

    =GETPIVOTDATA("Scanned Units",'Pivot Table'!$E$3,"06 Store",A6,"Brand",B5)

    You need to change the format of column A (formula sheet) to text

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can I do a VLookup off of a Pivot table?

    The easiest way to convert Col A to text is to
    1. Select Column A
    2. go to Data Tab>Convert Text to Columns> Next>Next>Choose "Text" radio button
    3. Finish
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can I do a VLookup off of a Pivot table?

    Modify bhenlee's formula to

    =GETPIVOTDATA("Scanned Units",'Pivot Table'!$E$3,"06 Store",$A6,"Brand",B$5)
    so you can copy it across and down

  8. #8
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Can I do a VLookup off of a Pivot table?

    you can use this formula:

    =GETPIVOTDATA("Scanned Units",'Pivot Table'!$E$3,"06 Store",TEXT(A6,"#####"),"Brand",B$5)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VLOOKUP with a Pivot Table
    By TestMailinator in forum Excel General
    Replies: 2
    Last Post: 04-20-2015, 12:49 PM
  2. Vlookup in a pivot table
    By burnsbe in forum Excel General
    Replies: 5
    Last Post: 09-02-2010, 12:19 PM
  3. VLOOKUP from Pivot table?
    By Jeanapeana in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-10-2009, 03:47 AM
  4. vlookup in a pivot table
    By Seaman580 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] vlookup in a pivot table
    By Matt Lunn in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 07:05 AM
  6. vlookup in a pivot table
    By Seaman580 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] vlookup in a pivot table
    By Seaman580 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1