Cross reference Demand vs On hand inventory

L40

Board Regular
Joined
Mar 17, 2011
Messages
100
I need help with two queries I have created. The 1stquerie runs my upcoming orders and shows me what part number will be requirealong with the demand needed. The second query displays my entireinventory with on hand qty. I need to be able to compare the both and have itgive me a report on what part numbers I will be short along with quantities. Itonly needs to give me the part numbers from the 1st query if my demand is less than my onhand inventory. <o:p></o:p>
 

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.
Here is some more information, hopefuly it makes sence

.The LPROD is my part number. My qty on hand will be acalculated field that will take (LOPB + LRCT + LADJU) – LISSU which will giveme my QOH (qty on hand). Below is a sample of the two tables.<o:p></o:p>
The CHILD field on the 2nd table is my part number and theSumOfQtyRQ is my demand <o:p></o:p>
<o:p> </o:p>
Current_INVENTORY<o:p></o:p>
LPROD<o:p></o:p>
LWHS<o:p></o:p>
LLOC<o:p></o:p>
LOPB<o:p></o:p>
LRCT<o:p></o:p>
LADJU<o:p></o:p>
LISSU<o:p></o:p>
Expr1<o:p></o:p>
19A24011 <o:p></o:p>
02<o:p></o:p>
PSSH03<o:p></o:p>
230<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
03E10178 <o:p></o:p>
04<o:p></o:p>
05042 <o:p></o:p>
5<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
03B11040 <o:p></o:p>
04<o:p></o:p>
05033 <o:p></o:p>
7<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
54U22088 <o:p></o:p>
02<o:p></o:p>
17081 <o:p></o:p>
2<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
10J14721 <o:p></o:p>
04<o:p></o:p>
04053 <o:p></o:p>
1<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
10J14736 <o:p></o:p>
04<o:p></o:p>
04022 <o:p></o:p>
1<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
08A10052 <o:p></o:p>
04<o:p></o:p>
10141 <o:p></o:p>
1<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
0<o:p></o:p>
<thead> </thead> <tbody> </tbody>
<o:p> </o:p>
<o:p> </o:p>
ScheduledSystemBOM<o:p></o:p>
CHILD<o:p></o:p>
CDESC<o:p></o:p>
CITYP<o:p></o:p>
CSKUM<o:p></o:p>
SumOfCQTYRQ<o:p></o:p>
02P14005 <o:p></o:p>
COMP 2DA3R89KL-TFD-C27 <o:p></o:p>
R<o:p></o:p>
EA<o:p></o:p>
8<o:p></o:p>
02P14041 <o:p></o:p>
COMP 3DB3R12ML-TFD-C27 <o:p></o:p>
R<o:p></o:p>
EA<o:p></o:p>
40<o:p></o:p>
02P14061 <o:p></o:p>
COMP 3DF4S11ML-TFD-C27 <o:p></o:p>
R<o:p></o:p>
EA<o:p></o:p>
20<o:p></o:p>
02P14114 <o:p></o:p>
COMP 3DS4S12ML-TFD-C27 <o:p></o:p>
R<o:p></o:p>
EA<o:p></o:p>
52<o:p></o:p>
02P14122 <o:p></o:p>
COMP 3DSDS12ML-TFD-C27 <o:p></o:p>
R<o:p></o:p>
EA<o:p></o:p>
40<o:p></o:p>
<thead> </thead> <tbody> </tbody>
<o:p> </o:p>
 
Upvote 0
Sorry correction on the last sentence of my 1st post. It only needs to give me the part numbers from the 1st query if my demand is mores than my on hand inventory. <o:p></o:p>
 
Upvote 0

Forum statistics

Threads
1,207,108
Messages
6,076,590
Members
446,215
Latest member
userds5593

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