Hi, something like this maybe:
Excel 2013/2016
| A | B | C | D |
---|
ADV | 47-57 | | | |
H-AB | 19-22 | Y | | |
H-BAS | 27-32 | Y | | |
H-MAS | 39-46 | Y | | |
H-UNS | 12-14 | N | | |
L-AB | 15-18 | N | | |
L-BAS | 23-26 | N | | |
L-MAS | 33-38 | N | | |
UNS | 0-11 | Y | | |
<colgroup><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"]30[/TD]
[TD="bgcolor: #FFFF00"]N[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]19[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]32[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]40[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]50[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]55[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]5[/TD]
</tbody>
Sheet2
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]D1[/TH]
[TD="align: left"]=IF(
AND(C1>=0+LEFT(B1,FIND("-",B1)-1),C1<=0+MID(B1,FIND("-",B1)+1,13)),"Y","N")[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]