+ Reply to Thread
Results 1 to 4 of 4

Logical Formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    287

    Logical Formula

    I have 3 columns, let’s say A, B and C

    If the row for all three columns contains a number I want to notify this in column D with a ‘YES’ (or with True).

    If non, or just one or two cells in the row contains a number, I want to notify this in column D with a “No” (of False).

    How is the formula written?

    Saturn
    Last edited by Saturn; 10-02-2011 at 03:42 PM.

  2. #2
    Registered User
    Join Date
    07-02-2009
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Logical Formula

    =IF(AND(ISNUMBER(A1)=TRUE, ISNUMBER(B1)=TRUE, ISNUMBER(C1)=TRUE), "YES", "Nooooooooooo")


    or see attachment
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    287

    Re: Logical Formula

    That easy!
    Thanks a lot heyzeus17!

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Logical Formula

    The ISNUMBER formula will only respond to any integers entered and ignores anything else like for instance "A" or "c" in any of the three columns. I would therefore suggest using =IF(A2<>0,IF(B2<>0,IF(C2<>0,"YES","NO"),"NO"),"NO") instead

+ 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