+ Reply to Thread
Results 1 to 3 of 3

IF does NOT equal formula ???

  1. #1
    Registered User
    Join Date
    02-21-2008
    Location
    Hull, UK
    MS-Off Ver
    2003 at work, 2007 at home
    Posts
    17

    IF does NOT equal formula ???

    Is it possible to do an IF formula based around a value it does not equal?

    eg I have one column, that is perforning a SUMIF providing that a certain cell is equal to a particular constant.

    =IF([cell]=[value],SUMIF([range],[criteria],[sum_range]))

    In the next column I want to do it the other way round so that:

    =IF([cell] DOESNOT=[value],SUMIF([range],[criteria],[sum_range]))

    Is it just a simple symbol??

    Thanks
    Last edited by hartski; 11-25-2008 at 10:16 AM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: IF does NOT equal formula ???

    What about <> means is not equal to
    e.g If(A1<>"A","A","B")
    reading: If Cell A1 is not equal to the string "A" then ... You'll understand the rest. In your case it could even be
    Please Login or Register  to view this content.
    Note the additional comma!
    Last edited by rwgrietveld; 11-25-2008 at 10:13 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    02-21-2008
    Location
    Hull, UK
    MS-Off Ver
    2003 at work, 2007 at home
    Posts
    17

    Thumbs up

    Fantastic... I love this site.

    Many thanks, that's cracked it.


+ 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