+ Reply to Thread
Results 1 to 3 of 3

Yes No IF Problem w/positive or negative result

  1. #1
    Registered User
    Join Date
    09-28-2015
    Location
    U.S.
    MS-Off Ver
    2007
    Posts
    7

    Yes No IF Problem w/positive or negative result

    IDK how to make this work... I need to compare cells and if one cell is yes and another no I need to return a value of a positive number and if the first cell is no and the other yes I need to return a negative number

    Currently I have:

    IF(B20=C20,0,3000)+IF(B21=C21,0,1,500) -- This formula, however, cannot adjust for a positive or negative number.

    What I need is depending on whether the cells are Yes or No the values are either going to be positive or negative as a result. For example, If B20=Yes and C20=No then my answer would be 3000. But if B20=No and C20=Yes then my answer would be -3000. If both B20 and C20 are Yes or No my answer would be 0.

    I hope that makes sense.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Yes No IF Problem w/positive or negative result

    From what you describe:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,291

    Re: Yes No IF Problem w/positive or negative result

    Please Login or Register  to view this content.
    Try this
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  2. Formula Problem with IF (Negative and Positive Numbers)
    By Dpocahontas in forum Excel General
    Replies: 1
    Last Post: 01-28-2012, 04:01 PM
  3. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  4. Replies: 1
    Last Post: 08-14-2009, 11:17 AM
  5. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM
  6. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  7. Replies: 2
    Last Post: 11-13-2008, 12:35 AM
  8. Replies: 4
    Last Post: 09-26-2005, 06:05 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