Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chrism
 
Posts: n/a
Default Can I use a 'lookup' to a Pivot Table?

I am attempting to compare one column of data (a list Employee numbers)
to another (on a different sheet in the same workbook, also of Ee #s
but not as complete) and put the number in the corresponding cell back
to the original spreadsheet. Since the lists aren't exact, I can't
simply do an (='other sheet'!A1)and drag it down. The lists are both
formated as numbers and in numerical order but not the same length.
The oddity is that the sheet I'm referencing to is a Pivot Table. I'm
getting a #N/A message.

Thanks in advance

  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You could use the GETPIVOTDATA function:

=GETPIVOTDATA("Units",Pivot!$A$7,"Employee",C3)

or a VLOOKUP:

=VLOOKUP(C3,Pivot!$A$7:$E$17,5,0)

where C3 is the value on the active sheet, and the pivot table is on the
Pivot sheet

Chrism wrote:
I am attempting to compare one column of data (a list Employee numbers)
to another (on a different sheet in the same workbook, also of Ee #s
but not as complete) and put the number in the corresponding cell back
to the original spreadsheet. Since the lists aren't exact, I can't
simply do an (='other sheet'!A1)and drag it down. The lists are both
formated as numbers and in numerical order but not the same length.
The oddity is that the sheet I'm referencing to is a Pivot Table. I'm
getting a #N/A message.

Thanks in advance



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM
pivot table yllee70 Excel Worksheet Functions 1 February 21st 05 10:49 PM
Removing errors from a Pivot table Mighty Magpie Excel Discussion (Misc queries) 2 February 3rd 05 03:15 PM
Problem with Pivot Table Drop-Down Menus Mac Excel Worksheet Functions 4 November 7th 04 01:18 PM


All times are GMT +1. The time now is 12:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"