Array forumla - Contains rather than =

Steven101

Board Regular
Joined
Oct 27, 2014
Messages
62
I have the following array formula, which works great. My issue is the Table[Area]="Yes", can this be changed to contains "Yes". I have tried Table[Area]="*Yes*" but this doesn't work.




Code:
[CODE]=IFERROR(INDEX(Table1[Ref],SMALL(IF((Table1[Date]>=$B$2)*(Table1[Date]<=$B$3)*([B]Table1[Area]="Yes")[/B]*(Table1[HANDLER OVERALL]="U"),ROW(Table1[Date])-1,""),$A16),1),"")
[/CODE]

Any help would be appreciated.

Steven
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Does this work (untested)?

=IFERROR(INDEX(Table1[Ref],SMALL(IF((Table1[Date]>=$B$2)*(Table1[Date]<=$B$3)*(ISNUMBER(SEARCH("Yes",Table1[Area])))*(Table1[HANDLER OVERALL]="U"),ROW(Table1[Date])-1,""),$A16),1),"")
 
Upvote 0
Perfect Special-K99, also gives me a better understanding of how the If statement works in this array!

Many Thaanks

Does this work (untested)?

=IFERROR(INDEX(Table1[Ref],SMALL(IF((Table1[Date]>=$B$2)*(Table1[Date]<=$B$3)*(ISNUMBER(SEARCH("Yes",Table1[Area])))*(Table1[HANDLER OVERALL]="U"),ROW(Table1[Date])-1,""),$A16),1),"")
 
Upvote 0

Forum statistics

Threads
1,223,947
Messages
6,175,559
Members
452,652
Latest member
eduedu

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