[TABLE="width: 156"]
<tbody>[TR]
[TD="class: xl65, width: 156"]
[/TD]
[/TR]
</tbody>[/TABLE]
This is my code. $E$3 contains a 2 letter code. the formula uses this to display data in a worksheet. The data is in 3 columns, the 1st being the 2 letter code, and the other 2 are displayed. The Row function is searching through the list of data for the match to cell E3(which is the 2 letter code). My issue is that it currently only searches for a partial match. The 2 letter code is capitalized throughout the entire document, so matching exactly will not raise other issues. I have tried several iterations of the match and exact functions but can't seem to locate it in the correct place to get it to work.
<tbody>[TR]
[TD="class: xl65, width: 156"]
Code:
={IF(ISERROR(INDEX(Wednesday!$A$1:$C$250,SMALL(IF(Wednesday!$A$1:$A$250=$E$3,ROW(Wednesday!$A$1:$A$250)),ROW(Wednesday!1:1))-1,2)),"",INDEX(Wednesday!$A$1:$C$250,SMALL(IF(Wednesday!$A$1:$A$250=$E$3,ROW(Wednesday!$A$1:$A$250)),ROW(Wednesday!1:1))-1,2))}
[/TR]
</tbody>[/TABLE]
This is my code. $E$3 contains a 2 letter code. the formula uses this to display data in a worksheet. The data is in 3 columns, the 1st being the 2 letter code, and the other 2 are displayed. The Row function is searching through the list of data for the match to cell E3(which is the 2 letter code). My issue is that it currently only searches for a partial match. The 2 letter code is capitalized throughout the entire document, so matching exactly will not raise other issues. I have tried several iterations of the match and exact functions but can't seem to locate it in the correct place to get it to work.