Excel 2000 - Vlookup

Posted on 2011-02-24
Last Modified: 2012-05-11
Dear Experts,

Could you please check the attached file, it has a Pivot sheet with values, which I would like to vlookup on Sheet1.

The pivot is special from that point of view, that it has four sums, and the product is always in the first line of sums so at Sum1. But I would need from those always the Sum4 value.

Do you have maybe idea how to do this with vlookup? On Sheet1 I copied manually these Sum4 values.

Question by:csehz
LVL 50

Accepted Solution

Ingeborg Hawighorst earned 167 total points
ID: 34968778

In cell C2 you can use


Adjust the range to suit your maximum expected pivot table row.

copy down.

cheers, teylyn
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 167 total points
ID: 34968784
If each product ALWAYS has Sum1 - Sum4, then this simple formula should work:


You could also try GETPIVOTDATA, although without a sample that has an actual PivotTable it will be hard to give you the correct syntax.
LVL 45

Assisted Solution

patrickab earned 166 total points
ID: 34968815



It's in the attached file.

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.


Author Closing Comment

ID: 34968840
You are amazing, thanks all the three versions are working
LVL 45

Expert Comment

ID: 34968858
csehz - Thanks for the points - Patrick
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 34968905

Thanks for the grade.

Just keep in mind that Offset() is volatile and will slow your workbook down. Index() calculates much faster and will not re-calculate with every cell change.

cheers, teylyn

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question