+ Reply to Thread
Results 1 to 3 of 3

if and or

Hybrid View

frank35 if and or 11-04-2013, 03:15 PM
FDibbins Re: if and or 11-04-2013, 03:17 PM
jonathanrgz Re: if and or 11-04-2013, 03:19 PM
  1. #1
    Forum Contributor
    Join Date
    10-08-2013
    Location
    End of the World, USA
    MS-Off Ver
    EXCEL 2007
    Posts
    111

    if and or

    I need a formula that does the following: If A1 is ABC or also if it is DEF it should show content from cell A2 but only if cell B2 is "no"

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: if and or

    maybe this...
    =if(AND(OR(A1="ABC",A1="DEF"),B2="no"),A2,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-19-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: if and or

    Hi,

    I beleive this would do it:

    =IF(AND(B2="NO",OR(A1="ABC",A1="DEF")), A2,0)

+ 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