[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
Solved

# Excel 2000 - Vlookup

Posted on 2011-02-24
Medium Priority
333 Views
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.

thanks,
VlookupPivot.xls
0
Question by:csehz
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 668 total points
ID: 34968778
Hello,

In cell C2 you can use

=INDEX(Pivot!\$C\$1:\$C\$1000,MATCH(Sheet1!A2,Pivot!\$A\$1:\$A\$1000,0)+3)

copy down.

cheers, teylyn
0

LVL 93

Assisted Solution

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

=INDEX(Pivot!C:C,MATCH(A2,Pivot!A:A)+3)

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

LVL 45

Assisted Solution

patrickab earned 664 total points
ID: 34968815
csehz,

Try:

=OFFSET(Pivot!A1,MATCH(Sheet1!A2,Pivot!A1:A49,0)+2,2,1,1)

It's in the attached file.

Patrick
VlookupPivot-01.xls
0

LVL 1

Author Closing Comment

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

LVL 45

Expert Comment

ID: 34968858
csehz - Thanks for the points - Patrick
0

LVL 50

Expert Comment

ID: 34968905
csehz,

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
0

## Featured Post

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
###### Suggested Courses
Course of the Month13 days, 19 hours left to enroll