# formula needed

#### gigiyi

##### Board Regular
 A B C D E F G H I J K L M 1 no.1 no.2 no.3 no.4 1 2 3 4 5 6 7 8 2 1 5 6 8 Y Y Y Y 3 2 7 8 5 Y Y Y Y 4 4 3 1 6 Y Y Y Y 5 6 TABLE 1 TABLE 2

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 73.6px;"><col style="width: 73.6px;"><col style="width: 73.6px;"><col style="width: 73.6px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"></colgroup><tbody>
</tbody>

dear experts,
would someone please help me out how to use formula that number from Table 1, e.g. no.1, 5, 6 ,8 from table 1 then use "Y" to show in table 2?

### Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

#### Fluff

##### MrExcel MVP, Moderator
In F2
=IF(COUNTIF(\$A2:\$D2,F\$1)>0,"Y","")
fill down & right

THANK YOU Fluff.

You're welcome

Replies
13
Views
608
Replies
5
Views
431
Replies
9
Views
451
Replies
8
Views
287
Replies
2
Views
302

1,130,190
Messages
5,640,748
Members
417,165
Latest member
Hilders1

### 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.

### Which adblocker are you using?

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

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