Return Value with Multiple Criteria

Mcook13

New Member
Joined
May 14, 2019
Messages
43
I am trying to return a value (a date) based on 2 criteria.

Column A has a purchase order, column J has a part #, and column E has the date.

All columns have some repeating numbers, but the 2 criteria together makes it unique.

Because of the sheet layout I can't use vlookup so I would have to use Index Match.

Essentially what I am trying to have the formula do is look in column A for this PO#, then look in Column J for this exact part number which is tied to that particular PO#, and return the date that is tied to that PO and part number.

I can't figure out how to use Index Match to return the date based on the 2 criteria of PO# and Part#. Please help and thank you
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try one of these formulas.
If you have Excel 2010 or later formula in cell D11 of the example below.
If you have an earlier ver. of Excel then the formula in cell E12. This formula must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDEFGHIJ
1PO #DatePart #
214/5/201925
324/12/201966
444/22/201935
563/25/201926
615/5/201915
765/12/201944
8
9
10FindDate
11PO15/5/2019
12Part155/5/2019
Sheet
 
Upvote 0
Try this "regular" formula

<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:96.95px;" /><col style="width:76.04px;" /><col style="width:76.04px;" /><col style="width:51.33px;" /><col style="width:96.95px;" /><col style="width:76.04px;" /><col style="width:76.04px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >E</td><td >J</td><td >K</td><td >L</td><td >M</td><td >N</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Purchase Order</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Date</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Part #</td><td > </td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Purchase Order</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Part #</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Result Date</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="text-align:right; ">123</td><td style="text-align:right; ">10/04/2019</td><td style="text-align:right; ">1</td><td > </td><td style="text-align:right; ">123</td><td style="text-align:right; ">2</td><td style="text-align:right; ">11/04/2019</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="text-align:right; ">123</td><td style="text-align:right; ">11/04/2019</td><td style="text-align:right; ">2</td><td > </td><td style="text-align:right; ">456</td><td style="text-align:right; ">203</td><td style="text-align:right; ">15/04/2019</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="text-align:right; ">123</td><td style="text-align:right; ">12/04/2019</td><td style="text-align:right; ">3</td><td > </td><td style="text-align:right; ">789</td><td style="text-align:right; ">1001</td><td style="text-align:right; ">16/04/2019</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="text-align:right; ">456</td><td style="text-align:right; ">13/04/2019</td><td style="text-align:right; ">201</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="text-align:right; ">456</td><td style="text-align:right; ">14/04/2019</td><td style="text-align:right; ">202</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="text-align:right; ">456</td><td style="text-align:right; ">15/04/2019</td><td style="text-align:right; ">203</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="text-align:right; ">789</td><td style="text-align:right; ">16/04/2019</td><td style="text-align:right; ">1001</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="text-align:right; ">789</td><td style="text-align:right; ">17/04/2019</td><td style="text-align:right; ">1002</td><td > </td><td > </td><td > </td><td > </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >N2</td><td >=SUMPRODUCT(($A$2:$A$9=L2)*($J$2:$J$9=M2)*($E$2:$E$9))</td></tr></table></td></tr></table>
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,570
Members
452,652
Latest member
eduedu

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