With validation list in column D try these array-entered formulas. In B13 and filled down until you get blanks.and in C13 filled down until you get blanks.If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Row\Col |
A |
B |
C |
D |
E |
1 |
Codes |
|
|
|
|
2 |
m |
|
|
apple |
|
3 |
s |
|
|
banana |
|
4 |
l |
|
|
kiwi |
|
5 |
b |
|
|
lime |
|
6 |
m |
|
|
mango |
|
7 |
p |
|
|
pear |
|
8 |
y |
|
|
strawberry |
|
9 |
z |
|
|
|
|
10 |
p |
|
|
|
|
11 |
m |
|
|
|
|
12 |
|
|
|
|
|
13 |
|
mango |
3 |
|
In B13 |
14 |
|
pear |
2 |
|
{=IFERROR(INDEX($D$2:$D$8,SMALL(IF(COUNTIF($A$2:$A$11,LEFT($D$2:$D$8))>1,ROW($D$2:$D$8)-MIN(ROW($D$2:$D$8))+1),ROWS($1:1))),"")} |
15 |
|
|
|
|
in C13 |
16 |
|
|
|
|
{=IFERROR(INDEX(COUNTIF($A$2:$A$11,LEFT($D$2:$D$8)),SMALL(IF(COUNTIF($A$2:$A$11,LEFT($D$2:$D$8))>1,ROW($D$2:$D$8)-MIN(ROW($D$2:$D$8))+1),ROWS($1:1))),"")} |
Bookmarks