+ Reply to Thread
Results 1 to 5 of 5

*NOT* equal(!)???

  1. #1
    Registered User
    Join Date
    06-29-2005
    Posts
    77

    *NOT* equal(!)???

    Hi,

    What I am trying to figure out to do is so simple it truly boggles my mind that I have not yet figured this out.

    How the heck can you simply say NOT EQUAL!???

    Example,

    =and(a2=a3,a3=a4,a4 DOES NOT EQUAL a5)

    Is there any way one can simply put a does not equal sign in the formula? Otherwise you have to get into all htis convolucded stuff with the NOT function, or > or < than, and on an on.

    TIA!

  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by tx12345
    Hi,

    What I am trying to figure out to do is so simple it truly boggles my mind that I have not yet figured this out.

    How the heck can you simply say NOT EQUAL!???

    Example,

    =and(a2=a3,a3=a4,a4 DOES NOT EQUAL a5)

    Is there any way one can simply put a does not equal sign in the formula? Otherwise you have to get into all htis convolucded stuff with the NOT function, or > or < than, and on an on.

    TIA!
    Hi tx12345

    <> represents not equal to

    Paul

  3. #3
    Registered User
    Join Date
    06-29-2005
    Posts
    77
    Thanks! Sorry it took so long to reply. Been a busy time.

    So, that is all it was? <>? Geez, *now* I really feel dumb! This is an example of how I was treating does not equal:

    =IF(AND(NOT(Y122="")),Y122,#N/A)

    next time it's: =IF(AND(Y122<>""),Y122,#N/A)


  4. #4
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by tx12345
    Thanks! Sorry it took so long to reply. Been a busy time.

    So, that is all it was? <>? Geez, *now* I really feel dumb! This is an example of how I was treating does not equal:

    =IF(AND(NOT(Y122="")),Y122,#N/A)

    next time it's: =IF(AND(Y122<>""),Y122,#N/A)


    You do not need "AND" in your formula. Instead of

    =IF(AND(Y122<>""),Y122,#N/A)

    it should simply be

    =IF(Y122<>"",Y122,#N/A)

    Regards.
    BenjieLop
    Houston, TX

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Except you don't need the AND() function in the formula you're using. You only have one condition to check for so there's no "and" involved.

    Your formula is simply =IF(Y122<>"",Y122,#N/A)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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