Closed Thread
Results 1 to 2 of 2

IF and AND

  1. #1
    Registered User
    Join Date
    01-15-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Unhappy IF and AND

    I'm sure there's a simple answer to this...

    I need to do the following:

    From C1:
    If A1 is greater than B1 and A1 and B1 are each <20, return value "+" to C1
    If A1 is greater than B1 and A1 and B1 are each >80, return value "-" to C1

    I've been trying to use IF and AND, but keep returning unexpected values

    I mapped it out like this on paper:

    =IF(AND(N5<20,O5<20),IF(N5>O5),"+",IF(AND(N5>80,O5>80)IF(N5>O5),"-",""),"")

    But it doesn't work.

    Any thoughts?

    Any assistance would be great, I've been spending quite some time on this.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: IF and AND

    This is duplicated post:

    http://www.excelforum.com/excel-prog...and-issue.html
    Never use Merged Cells in Excel

Closed 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