+ Reply to Thread
Results 1 to 6 of 6

True False statement

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    True False statement

    I am trying to write a simple true false formula but am running into some issues.
    I work in the warehouse environment and need to separate some of my bins from even and odd. I know how to write the formula to create a true false statement based on the number being even or odd (Example: =iseven(A1)). the end result being every even number will display true and every odd will display false.
    The problem I am having is I am looking at my bin locations and they include not only a number but a letter as well. (Example- 45N001). It is the letter that is throwing off the formula. When I use the same formula i get (#value!) instead of the true false I am looking for.

    Does anyone know how to write a formula to either include the letter or exclude the letter from the formula and still get a true false response?

  2. #2
    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
    81,162

    Re: True False statement

    Which bit of the code are you looking at? The 45 or the 001 bit? Will codes always be in that 6-character format?
    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.

  3. #3
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    Re: True False statement

    I am looking at the last three digits. The 001. Yes the codes will always be in the six digit format. 45s001, 95n026, 15n095 and so on.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: True False statement

    Maybe this...

    Data Range
    A
    B
    1
    45s001
    FALSE
    2
    95n026
    TRUE
    3
    15n095
    FALSE


    =ISEVEN(--RIGHT(A1,3))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    Re: True False statement

    that did it sir. thank you very much

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: True False statement

    You're welcome. Thanks for the feedback!

+ 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. [SOLVED] IF statement problem using true false
    By qiyusi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-18-2016, 10:11 AM
  2. [SOLVED] True/False if statement
    By Stephen R in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2014, 02:56 PM
  3. 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
  4. [SOLVED] I need an IF statement that has more than True and False
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2012, 07:00 AM
  5. If statement with a range and true/false statement
    By aarleblanc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-20-2012, 06:34 PM
  6. True false statement with dates
    By hrclark in forum Excel General
    Replies: 3
    Last Post: 10-18-2011, 11:42 AM
  7. IF Statement: How do you have a true and false for each option?
    By timmadge in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2006, 01:45 PM

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