Index Match

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,836
Office Version
  1. 2010
Platform
  1. Windows
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

DEFGHIJ
Without AnnexAnnex
WM (44) 1Annex WM (44) 1
cab 129/109C 51-100 A22cab 129/11
cab 129/11A22
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>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]
[TD="bgcolor: #ffff00"]CAB 65/45/1[/TD]

[TD="bgcolor: #ffff00"]CAB 65/41/1[/TD]
[TD="bgcolor: #ffff00"]CAB 65/45/1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]5[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]6[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]7[/TD]
[TD="bgcolor: #ffff00"]CAB 65/41/1[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

<strike></strike>

<strike></strike>
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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)),"")
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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