PIvot Tables 2003 and VLookup

K

Kay

Hi everyone,

I have a pivot table for training records that uses the Emp ID field as the
Page Filter. I want to be able to look up data based on the page filter
choice on another spreadsheet. If I create a tupical VLookup, I get an NA
=VLOOKUP(B4,'Education Info'!A2:$C$400,2,FALSE). GetPivotData Function is
activated, but it does not show that. First of all, can I lookup data from
anoather sheet based on the filter results of the EMP ID field? Second,
should I begin with get pivot data function? Any help would be appreciated.

Thanks!
 
K

Kay

Here is another version of the formula
=VLOOKUP(GETPIVOTDATA("Employee ID",B4),Lookup,2,FALSE).

Hope this clarifies what I am trying to do.
 
D

Debra Dalgleish

Your formula looks okay, and you shouldn't need to include the
GetPivotData function.
Are the IDs numbers? Maybe they're being treated as numbers in one
table, and as text in the other table.

If that's the problem, there are instructions here, to change text to
numbers:

http://www.contextures.com/xlDataEntry03.html
 
K

Kay

Debra,

Thanks for responding. both fields in each worksheet are formatted with a
general format.
 
K

Kay

Debra,

How about NA for the records that do not have a match? You are right, the
formula is correct. I just didn't look at the data carefully enough. There
are training records for inactive employees that should be taken out of the
database. I became hung up on the limitations of pivot tables that I did not
look for the obvious.

thanks for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top