+ Reply to Thread
Results 1 to 4 of 4

Help with IF AND formula

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2014
    Location
    Ireland
    MS-Off Ver
    2402
    Posts
    45

    Help with IF AND formula

    Hello worldwide Excel community,

    I was hoping you could help me tweak a formula I am trying to use.

    In Column A I have data with values 1, 0 or (blank), and in column B we have the same values but representing something different. In column C I'd like it to return a "Yes") when Column A is 1 and B is 0.

    I have been trying the below but keep getting errors:

    =IF((AND(A1=1,B1=0),"Yes"),"No")

    Can someone maybe let me know where I am going wrong and offer an alternative?

    Any input appreciated!
    KW
    Last edited by KevyWevz; 11-02-2020 at 03:25 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Help with IF AND formula

    Try:
    Formula: copy to clipboard
    =IF(AND(AU6=1, C6=0), "Yes", "No")
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-03-2014
    Location
    Ireland
    MS-Off Ver
    2402
    Posts
    45

    Re: Help with IF AND formula

    Quote Originally Posted by TMS View Post
    Try:
    Formula: copy to clipboard
    =IF(AND(AU6=1, C6=0), "Yes", "No")
    Solved, that was quick! Thank you, TMS!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Help with IF AND formula

    We do our best


    You're welcome. Thanks for the rep.

+ 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. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04: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