Index match

proficient

Well-known Member
Joined
Apr 10, 2012
Messages
745
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hi all,

Need to extract correspondence value from a range, my data look like this.

A A1
A A2
A A3
B B1
B B2
B B3

A & B are depart and A1,2,3 and B1,2,3 are designation, what I want is when I'll put A (means depart name) in seperate cell, all correspondence value should show in very next column. Hope it makes sense.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Do you mean something like this?


Book1
ABCDE
1DeptDesignationChoose
2AA1BB1
3AA2B2
4AA3B3
5BB1B5
6BB2
7BB3
8AA4
9BB5
Sheet4
Cell Formulas
RangeFormula
E2=IF(ROWS($D$2:D2)>COUNTIF($A$2:$A$9, $D$2), "",INDEX($B$2:$B$9, AGGREGATE(15, 6, (ROW($A$2:$A$9)-ROW($A$2)+1)/($A$2:$A$9=$D$2), ROWS($D$2:D2))))
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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