Using vlookup/hlookup from a Pivot table

irishryano

New Member
Joined
Jul 27, 2007
Messages
1
Hi all,

First time posting,
I'm working on a projet for work to determine how many of each component is needed and when to order it.

I've created a pivot table to summarize the data and I'm wondering how to use a vlookup or hlookup to find data associated with a component number. As you know a pivot table puts the component number (reference) in the upper left then 2 columns to the right is the first datum point. Then sequentially lists them below so they are 2 columns over and 1,2,3,4 and 5 rows below the reference cell (component number). I attempted using offsets in conjunction with v/h lookups but I had no success... Anyone know how to use these funcitons together or know of another work around?

Any help would be much appreciated.
Thanks,
Ryan
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,357
Office Version
  1. 365
Platform
  1. Windows
Ryan

Why not use GETPIVOTDATA?
 

scanavan

New Member
Joined
Jul 27, 2007
Messages
10
Why not create a unique reference to the left of the pivot table which looks at your component column and says if(b3="",A2,B3). Each time a new componenet is reached, the reference will pull into column a and then each subsequent cell will reference the one above itself.
 

Forum statistics

Threads
1,181,373
Messages
5,929,571
Members
436,679
Latest member
helly123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top