+ Reply to Thread
Results 1 to 3 of 3

IF(AND) Function

Hybrid View

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    Dallas, Tx
    MS-Off Ver
    2010
    Posts
    15

    IF(AND) Function

    Cell X28 = -3.397
    Cell Z28 = 0.00
    Cell AA28 should = NO

    Note: Cell X28 can be positve or negative

    The following formula was entered into cell AA 28:


    =IF(AND(ABS(X28)>Z28, Z28>0.00),"YES","NO")

    This is the way I read the formula: If the absolute value of X 28 is greater than the value in Z 28 AND Z 28 > 0.00 the answer is Yes, if not the answer is No

    When I finish and hit enter, the above formula is inserted in cell AA28- No error message, etc.

    Is the formula correct ?

    What do I need to do so the answer appears in cell AA28?

    HELP ASAP

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: IF(AND) Function

    JDCCPA,

    That looks good to me and the formula worked just fine when I tested it. Can you upload a sample workbook that is experiencing the issue?

    [EDIT]:
    After reading it again, you may have cell AA28 formatted as text. Delete the contents, format the cell as General and then put the formula in again if that was the problem.
    Last edited by tigeravatar; 12-12-2012 at 02:34 PM. Reason: Added edit
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-23-2012
    Location
    Dallas, Tx
    MS-Off Ver
    2010
    Posts
    15

    Re: IF(AND) Function

    tigeravatar:

    Thansk for the help. Formatting the cell to general did the trick.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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