Index Match with Multiple Criteria and Results

kingoffinance

Board Regular
Joined
Sep 10, 2004
Messages
55
Capture.png


I need A11 and A12 to return the invoice numbers that have the employee name from B9 and that are blank in column D. I have been banging my head against the wall for hours now and I can't get it. Please help!

Thank you in advance,
Anthony
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
something like...

Excel 2016 (Windows) 32 bit
ABCD
2Invoice #ItemEmployee 1Job Completed
31wheelssteve
42brakessteveyes
53brakesjames
64lug nutssteve
75wheelschris
8
9EmployeeSteve
10Open Invoice #
111
124
13
14
15

<tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
A11{=IFERROR(INDEX($A$3:$A$7,SMALL(IF($C$3:$C$7=$B$9,IF($D$3:$D$7="",ROW($A$3:$A$7)-ROW($A$3)+1)),ROWS($A$11:A11))),"")}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0
If you have Excel 2016 365, you can use function TEXTJOIN to report the result in one cell as text. Using Weazel's template, try this:

D
111, 4

<tbody>
</tbody>
Sheet33

Array Formulas
CellFormula
D11{=TEXTJOIN(", ",1,IF((C3:C7=B9)*(D3:D7=""),A3:A7,""))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try to enter the {} manually yourself.

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,222,046
Messages
6,163,596
Members
451,846
Latest member
ajk99

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