Index Match

How_Do_I

Well-known Member
Hello all, I can’t work out how to get the desired results in I4 and J4… My search is in cell H4 (“WM (44) 1”), Column E has two matches, one match WITH “Annex” in Column F and one match WITHOUT “Annex” in Column F… How would I get my desired results please…?

Sheet1

 D E F G H I J 3 Without Annex Annex 4 CAB 65/45/1 WM (44) 1 Annex WM (44) 1 CAB 65/41/1 CAB 65/45/1 5 cab 129/109 C 51-100 A22 cab 129/11 6 cab 129/11 A22 7 CAB 65/41/1 WM (44) 1

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:82px;"><col style="width:69px;"><col style="width:64px;"><col style="width:64px;"><col style="width:69px;"><col style="width:102px;"><col style="width:82px;"></colgroup><tbody>
</tbody>

Excel tables to the web >> Excel Jeanie HTML 4

<strike></strike>

<strike></strike>

Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

steve the fish

Well-known Member
Try this:

=IFERROR(INDEX(\$D\$4:\$D\$7,MATCH(1,INDEX((\$E\$4:\$E\$7=\$H4)*(\$F\$4:\$F\$7=IF(I\$3=\$J\$3,\$J\$3,"")),0),0)),"")

How_Do_I

Well-known Member
That formula works steve, thanks for that. Unfortunately I don't understand it enough to add a third column which I've now noticed some of my data has...! How would I adjust the formula please..?

Excel Workbook
DEFGHIJKL
3AnnexNotebook
4CAB 65/45/1WM (44) 1AnnexWM (44) 1CAB 65/41/1CAB 65/45/1cab 129/11
5cab 129/109C 51-100C 51-100cab 129/109
6cab 129/11WM (44) 1Notebook
7CAB 65/41/1WM (44) 1
Sheet1

Replies
7
Views
282
Replies
13
Views
606
Replies
2
Views
301
Replies
4
Views
203
Replies
5
Views
430

1,129,826
Messages
5,638,554
Members
417,035
Latest member
Jigneshbharati

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?

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

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