Index Match

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,801
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
3 Without AnnexAnnex
4CAB 65/45/1WM (44) 1Annex WM (44) 1CAB 65/41/1CAB 65/45/1
5cab 129/109C 51-100 A22cab 129/11
6cab 129/11A22
7CAB 65/41/1WM (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
Joined
Oct 20, 2009
Messages
8,388
Office Version
  1. 365
Platform
  1. Windows
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
Joined
Oct 23, 2009
Messages
1,801
Office Version
  1. 2010
Platform
  1. Windows
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
 

Watch MrExcel Video

Forum statistics

Threads
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?

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
Top