+ Reply to Thread
Results 1 to 9 of 9

INDEX, MATCH and OR ISSUE

  1. #1
    Registered User
    Join Date
    01-28-2015
    Location
    great falls, mt
    MS-Off Ver
    version 2010
    Posts
    8

    INDEX, MATCH and OR ISSUE

    Hello,

    I am trying to use a formula that reports a "YES" or "NO" based on certain text criteria found in specific cells when referenced by index/match to a specific name and date. In the past I feel like I have used the Asterisk to allow for text found in the cells such as DPY, TDY, LVE, etc to allot for the texts to also contain numerics such as DPY1 DPY2, TDY4, LVE2, LVE4, etc. I created the formula to use "DPY*" to try and capture all versions of DPY with numbers contained afterwards, but When the formula works through itself, it registers false for finding these texts in the cells when the asterisk is used. When it isn't used, it finds the specific versions of the text only criteria. Is there anyway I can use my formula to find the criteria I'm looking for to allow for numbers after the character texts? A sample of the formula is here without the asterisks contained:

    =IF(INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH("NOTES",$1:$1,0)))="DNA","NO",IF(INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH("NOTES",$1:$1,0)))="BLANK","NO",IF(OR(INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="DPY",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="ROD",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="LVE",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="TLV",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="CLV",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="QTRS",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="APPT",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="TDY",INDEX($A$1:$IU$32,MATCH($B71,EchoFlightPersonnel,0),(MATCH(C$69,$1:$1,0)))="TDA"),"NO","YES")))

    I can upload the workbook if needed later...

    Thank you for your help.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,824

    Re: INDEX, MATCH and OR ISSUE

    I think uploading a file would be helpful, but maybe you could use the LEFT formula to help (i.e., LEFT(A1,4)="TEST" (A1 could be TESTING and it would match).

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,420

    Re: INDEX, MATCH and OR ISSUE

    This formula could most probably be greatly simplified - please provide a sample workbook.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-28-2015
    Location
    great falls, mt
    MS-Off Ver
    version 2010
    Posts
    8

    Re: INDEX, MATCH and OR ISSUE

    Uploading Worksheet now, thanks!
    Last edited by Glenn Kennedy; 09-04-2022 at 03:16 AM.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: INDEX, MATCH and OR ISSUE

    I have deleted your attachment. It contains MANY, MANY notes identifying individuals including medical history (e.g. Covid vaccination refusal).

    This CLEARLY violates data protection rights for the individuals concerned and places you in a very vulnerable legal position. In EU, you'd be in serious trouble over leaking data like that into a public forum.

    READ the yellow banner (top) and provide a small (10-20 rows) sample WITH expected results and an explanation and WITHOUT any personal identifiers.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    01-28-2015
    Location
    great falls, mt
    MS-Off Ver
    version 2010
    Posts
    8
    I have deleted the real names of individuals that would?ve been identified?those last names are One or two character identifiers?no one could be identified by that ?but I guess thanks for worry?.

    I will seek help elsewhere if it?s an issue

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: INDEX, MATCH and OR ISSUE

    Open your file.

    Review/Comments

    or

    Review/Notes/Show all Notes.

    One or two character identifiers??? Think again, my friend.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: INDEX, MATCH and OR ISSUE

    If you wish to go elsewhere, that's up to you. But, any responsible forum will do the same as I did. You MUST not publish personal information like thta in a public forum. Unless you enjoy being sued, that is.

  9. #9
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,824

    Re: INDEX, MATCH and OR ISSUE

    Add the LEFT formula to all your index/matches, like so:

    LEFT(INDEX($A$1:$IU$32,MATCH($B79,EchoFlightPersonnel,0),(MATCH(D$69,$1:$1,0))),3)="TDY",

    (The "3" near the end of the statement should match the number of letters you are matching to.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-17-2019, 01:11 PM
  2. [SOLVED] Index/Match Issue
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2017, 10:29 AM
  3. Index Match Issue
    By jharvey87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2016, 12:26 PM
  4. [SOLVED] Index Match Issue
    By Cbohdan in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-18-2014, 12:48 PM
  5. Issue: Only returning 1st match on Index/Match
    By tbr2891 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2014, 11:54 AM
  6. Index Match issue
    By laxmanann in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-10-2014, 05:40 AM
  7. [SOLVED] Match Issue - Consolidate Columns of Data With Match/Index/etc?
    By excelsior123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2014, 05:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1