INDEX & MATCH function with multiple criteria

The Chad

New Member
Joined
Oct 17, 2011
Messages
26
I have a problem determining the best solution to look at 2 different columns in Sheet1 (Status WS) and compare against Sheet2 (OrgNameConversion) that will have similar column data so I can select the data from another columns/cell. This is required to convert naming conventions.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Sheet1 (Status WS) has Columns A-N
Column C is called <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><st1:PlaceName w:st="on">Cost</st1:PlaceName> <st1:PlaceType w:st="on">Center</st1:PlaceType></st1:place>
Column E is called Org Unit Name
Column G is where I want the Group Name to go
Column H is where I want the modified Org Unit Name to go
<o:p> </o:p>
The rows in Sheet1 identifies personnel that have completed different training modules (sometimes several modules). In excess of 1000 lines.
<o:p> </o:p>
The issue is that data in Column E is quite different to how groups are set up. In this case I am using Sheet2 (OrgNameConversion) to compare against Sheet1 and provide a modified Org Unit Name to Sheet1 Column G.
<o:p> </o:p>
Sheet2 (OrgNameConversion) has columns A-F
Column B contains <st1:place w:st="on"><st1:PlaceName w:st="on">Cost</st1:PlaceName> <st1:PlaceType w:st="on">Center</st1:PlaceType></st1:place> data
Column C contains Org Unit Name data
Column E contains Group Name
Column F contains modified Org Unit Name
<o:p> </o:p>
There are approx 150 rows in Sheet2.
<o:p> </o:p>
I am using Excel 2003.
<o:p> </o:p>
The formula (array) that I am working on at the moment is
<o:p> </o:p>
{=INDEX('Org Name Conversion'!B:F,(MATCH('Status WS'!C5&'Status WS'!E5,'Org Name Conversion'!B:B&'Org Name Conversion'!C:C,0)),4)}
<o:p> </o:p>
Note this is not yet addressing the need for Column H is Sheet1.
<o:p> </o:p>
Any ideas appreciated.
<o:p> </o:p>
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The formula you have won't succeed on Excel 2003 for the whole column references are not allowed in that type of formulas. Try rather...

Control+shift+enter, not just enter:
Rich (BB code):
=INDEX('Org Name Conversion'!$E$2:$E$100,
  MATCH(1,IF('Org Name Conversion'!$B$2:$B$100=C5,
   IF('Org Name Conversion'!$C$2:$C$100=E5,1)),0))

By the way, it's unclear what problem you are addressing. Also, try to avoid using two shaat names for the same sheet (e.g., Sheet2 and Org Name Conversion).
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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