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

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

  1. #1
    New Member
    Join Date
    Sep 2018
    Posts
    27
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

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

    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

  2. #2
    MrExcel MVP
    Join Date
    Aug 2010
    Location
    Rio de Janeiro BRAZIL
    Posts
    16,223
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    8 Thread(s)

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

    Could you provide a small data sample along with expected result(s)?

    M.

  3. #3
    New Member
    Join Date
    Jul 2019
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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")

  4. #4
    New Member
    Join Date
    Sep 2018
    Posts
    27
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

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

    Jeff,

    Quote Originally Posted by JefferyLi View Post
    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 by Morey; Jul 17th, 2019 at 03:15 PM.

  5. #5
    MrExcel MVP
    Join Date
    Aug 2010
    Location
    Rio de Janeiro BRAZIL
    Posts
    16,223
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    8 Thread(s)

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

    Maybe...

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

    M.

  6. #6
    New Member
    Join Date
    Jul 2019
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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")

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •