MATCH/INDEX: Confirm a "Specific" Text, if any returns differ mark final return value as "No", if all match mark as "Yes"

Morey

New Member
Joined
Sep 24, 2018
Messages
37
Hello all,

I would like to INDEX/MATCH while confirming a "Specific" text. If any returns differ from "Specific" text, mark final return value as "No". If all match mark as "Yes". Any help or suggestions would be greatly appreciated.


Modifiable Formula:

Code:
=IFERROR(INDEX('Data (O&S+PC&I)'!$AI$2:$AI$5000,MATCH($B$2,'Data (O&S+PC&I)'!$A$2:$A$5000,0))&"", "")


Regards,

Morey
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I dont know what your data is but based on the description you should use a if formula instead of iferror.

if(INDEX('Data (O&S+PC&I)'!$AI$2:$AI$5000,MATCH($B$2,'Data (O&S+PC&I)'!$A$2:$A$5000,0))<>"Specific","No","Yes")
 
Upvote 0
Jeff,

I dont know what your data is but based on the description you should use a if formula instead of iferror.

if(INDEX('Data (O&S+PC&I)'!$AI$2:$AI$5000,MATCH($B$2,'Data (O&S+PC&I)'!$A$2:$A$5000,0))<>"Specific","No","Yes")

This does work. What if two matching values are found but one, does not match "specific" text? In this case, return would be No. How would I modify formula to suit?

Code:
=IF(INDEX('PRPO CLN'!L2:L5000,MATCH(A1,'PRPO CLN'!E2:E5000,0))<>"Fully Released","No","Yes")

Regards,

Morey
 
Last edited:
Upvote 0
Maybe...

=IF(COUNTIFS('PRPO CLN'!$E$2:$E$5000,A1,'PRPO CLN'!L2:L5000,"Fully Released"),"Yes","No")

M.
 
Upvote 0
um.. I dont know if I understand correctly.

try this (if index result is not "something1", or index result is not "Something2", then mark as "NO", rest of them mark as "Yes"

=IF(OR(INDEX('Data (O&S+PC&I)'!$AI$2:$AI$5000,MATCH($B$2,'Data (O&S+PC&I)'!$A$2:$A$5000,0))<>"Specific",INDEX('Data (O&S+PC&I)'!$AI$2:$AI$5000,MATCH($B$2,'Data (O&S+PC&I)'!$A$2:$A$5000,0))<>"Specific"),"No","Yes")
 
Upvote 0

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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