Multi-Criteria Date find/lookup/Index?

Tyrate

New Member
Joined
Mar 27, 2019
Messages
1
I have 2 tables on separate worksheets in the same workbook, the 1st table (TableA) has the Workorders in which an item has been assigned too, the 2nd table (TableB) shows the items on the vendor’s purchase order record table.

TableA

ABCDE
WO#ItemDescriptionQTY in StockLocation
001459855698-RC-04SCREW, 6-32 X 5/16 FLAT, TORX,46B17N
00169851148999-00-3ASSY, BP/Tx FILTER,333FG2B
0018562223045-177BRKT, EXTENSION, TX FILTER0A23B
001886986359-C6-FC-01ASSY, CABLE, MMCX M STR-SMA12C12D
00169801456823CISCO, ROUTER1D08C

<tbody>
</tbody>


TableB

ABCDEF
PO#Component IDManufacturerRequired by DateQTY OrderedQTY Received
000184751456823CISCO2/19/193535
0001848225978-121-CAMacMasters3/1/192520
000192011456823CISCO3/4/19200
00019223223045-177Miller Machine2/28/193030
000196421148999-00-3AD Electrical3/12/19100100
000201011456823CISCO3/15/19150
00020147223045-177Miller Machine3/18/193015
00020358223045-177Miller Machine3/30/19150

<tbody>
</tbody>

What I’m trying to accomplish?
I would like to find the applicable “required by date” on tableB, that matches the “Item” column on TableA with the “Component ID” column on tableB, evaluate the records, then from tableB grab the 1st “required by date” where either the “purchase quantity received” is less than the quantity ordered or equal to “0”.

What it should look like:

TableA (mod)

ABCDEF
WO#ItemDescriptionQTY in StockLocationExpected
Delivery
001459855698-RC-04SCREW, 6-32 X 5/16 FLAT, TORX,46B17N3/18/19
00169851148999-00-3ASSY, BP/Tx FILTER,333FG2B4/12/19
0018562223045-177BRKT, EXTENSION, TX FILTER0A23B3/18/19
001886986359-C6-FC-01ASSY, CABLE, MMCX M STR-SMA12C12D4/2/19
00169801456823CISCO, ROUTER1D08C3/4/19

<tbody>
</tbody>


Note, that the Item number can be called out several times on the purchase order, with different quantiles that were ordered and received. I thought it would be a fairly simple formula to figure out but I’ve tried several types of excel functions like INDEX/MATCH and VLOOKUP with little to no results to from it, of course, this is most likely because of human error since I’m an advanced novice at best when it comes to excel and formulas.

Whatever help I can get would be greatly appreciated!:confused:
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi Tyrate,

Can use this? It seems to work with the data I have available;


Book1
ABCDEF
1WO#ItemDescriptionQTY in StockLocationExpected
21459855698-RC-04SCREW, 6-32 X 5/16 FLAT, TORX,46B17N 
3169851148999-00-3ASSY, BP/Tx FILTER,333FG2B
418562223045-177BRKT, EXTENSION, TX FILTERA23B18-03-19
51886986359-C6-FC-01ASSY, CABLE, MMCX M STR-SMA12C12D
6169801456823CISCO, ROUTER1D08C04-03-19
TableA
Cell Formulas
RangeFormula
F2{=MIN(IF(TableB!$B$2:$B$9=B2,TableB!$G$2:$G$9))}
Press CTRL+SHIFT+ENTER to enter array formulas.



Book1
ABCDEFG
1PO#Component IDManufacturerRequired by DateQTY OrderedQTY ReceivedTest
2184751456823CISCO19-02-193535 
31848225978-121-CAMacMasters01-03-19252001-03-19
4192011456823CISCO04-03-1920004-03-19
519223223045-177Miller Machine28-02-193030
6196421148999-00-3AD Electrical12-03-19100100
7201011456823CISCO15-03-1915015-03-19
820147223045-177Miller Machine18-03-19301518-03-19
920358223045-177Miller Machine30-03-1915030-03-19
TableB
Cell Formulas
RangeFormula
G2=IF(OR(F2),D2,"")
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,987
Members
449,093
Latest member
Mr Hughes

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