Vlookup for 2 sheets same workbook

cavinman

New Member
Joined
Apr 10, 2019
Messages
1
I have 2 sheets . One that shows me a part number description and qty on open orders at I have through a pivot table . I have another sheet for my inventory that shows Part number description and on hand qty. I want to do a vlookup on the open orders to show me how many I have on hand to fill these orders. can't get the formula right. The sheet with open orders uses cells a2-C2 down to a48-c48 The qty on hand as columns a2-c2 down to a5055-c5055. Can anyone help.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
you have 3 columns
I'm Assuming
A = part number
B = Description
C = Quantity

In sheet "inventory" shows on hand quantity A2:C5055

A pivot table with open orders

if the pivot table is updated , then this will stop working

lets assume you have a free column E
and on the pivot table it starts at A2 : C48
part number on A2

=Vlookup( A2, inventorySheet!$A$2:$C$5055, 3 , false)

should return the value on hand

copy down the pivot table to row 48
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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
Back
Top