Using multiple functions to display data from another sheet

rugbydud

New Member
Joined
Jun 19, 2018
Messages
4
[TABLE="width: 156"]
<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))}
[/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.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Re: formula help-using multiple functions to display data from another sheet

"My issue is that it currently only searches for a partial match"

Where in the formula does it search for a partial match?
All comparisons in the formula are set to =, therefore that's a complete match not a partial match.
 
Upvote 0
Re: formula help-using multiple functions to display data from another sheet

I don't understand it either. For example, when the cell value of E3 is AB, it is displaying all values for AB as well as A3, AZ, etc
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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