+ Reply to Thread
Results 1 to 5 of 5

Nesting IF, AND & ISTEXT Formulas

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Nesting IF, AND & ISTEXT Formulas

    Hi,

    I was wondering if anybody can help me with something that I can't seem to understand.

    This is my formula: =IF(AND($N3="SUBMIT",$AR3="FALSE"),"Correct","Wrong")

    Column N= Should be blank or have word submit in it
    Column AR = this is a ISNUMBER calculation where it looks into another cell and just states true or false.

    In this specific example N3=Submit and AR=FALSE but the calculation comes through as "wrong" when it should state correct.

    When I evaluate the formula to see where it goes wrong, see the screenshot attachment, it gets stuck on cell AR3 when the cell value = the criteria I'm looking for.

    I have also looked at formatting and it seems ok as the ISTEXT formula is providing the correct information.

    Any help would be much appreciated.

    R
    Attached Images Attached Images

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Nesting IF, AND & ISTEXT Formulas

    Remove the quotes from around FALSE - that is a Boolean value, not a text string.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Nesting IF, AND & ISTEXT Formulas

    Russell, deleting the " " you have FALSE wrapped in should solve this for you.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Nesting IF, AND & ISTEXT Formulas

    if you type FALSE into a cell it actually is treated as boolean FALSE you can use it as in maths
    like =$AR3+5 would work as False is considered as 0 where as TRUE is considered as 1
    so remove the "" from FALSE
    =IF(AND($N3="SUBMIT",$AR3=FALSE),"Correct","Wrong")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    05-28-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Nesting IF, AND & ISTEXT Formulas

    Works like a treat thanks very much guys. I thought it would have been something simple.

+ 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] nesting istext
    By mojobaabby in forum Excel General
    Replies: 1
    Last Post: 03-29-2013, 09:05 AM
  2. IF(ISTEXT to ignore formulas
    By JO505 in forum Excel General
    Replies: 2
    Last Post: 10-19-2011, 04:31 PM
  3. Replies: 6
    Last Post: 07-01-2010, 04:13 AM
  4. Nesting IF formulas
    By babydee0413 in forum Excel General
    Replies: 4
    Last Post: 02-19-2010, 06:03 PM
  5. Nesting Formulas
    By PLCProgrammer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2005, 07:06 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