+ Reply to Thread
Results 1 to 3 of 3

Return True or False statement if last 5 characters match or not

  1. #1
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Return True or False statement if last 5 characters match or not

    Hi,

    I have multiple codes such as:
    0001101OL
    0002400OL
    0003396OL

    Id like the following formula:
    If last 5 characters of the codes above is: 400OL or 396OL then say 'TRUE' if not then false

  2. #2
    Forum Contributor
    Join Date
    05-12-2018
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    266

    Re: Return True or False statement if last 5 characters match or not

    try this:

    PHP Code: 
    =OR(RIGHT(A1,5)="400OL",RIGHT(A1,5)="396OL"

  3. #3
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Return True or False statement if last 5 characters match or not

    Thank you all!

+ 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: 3
    Last Post: 08-23-2018, 09:22 AM
  2. If(And) Statement for sorting time stamp to return true or false value
    By engineerd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2017, 03:12 PM
  3. Replies: 1
    Last Post: 12-13-2016, 12:23 AM
  4. [SOLVED] Multiple ifs to return more than true or false statement
    By Vince1199s in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-08-2016, 01:12 PM
  5. How to return a value instead of TRUE/FALSE with IF,OR,AND statement
    By jgoat23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-14-2014, 10:30 AM
  6. Replies: 9
    Last Post: 01-21-2013, 01:54 AM
  7. Match and return a true false value
    By dcaraher in forum Excel General
    Replies: 2
    Last Post: 09-25-2009, 06:42 AM

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