+ Reply to Thread
Results 1 to 4 of 4

IF Function with AND | OR

  1. #1
    Forum Contributor
    Join Date
    06-09-2008
    Posts
    124

    IF Function with AND | OR

    Hello

    How to add OR to this Formula? OR= (R1=7,S1=5)

    Please Login or Register  to view this content.
    The Syntax
    Please Login or Register  to view this content.
    Don't work.

    Thank You

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: IF Function with AND | OR

    Not on computer at the moment (iPad only) but this should work

    =IF(or(AND(R1=8,S1=5),and(R1=7,S1=5)),"-",T1)
    Happy with my advice? Click on the * reputation button below

  3. #3
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: IF Function with AND | OR

    Try this instead

    Please Login or Register  to view this content.
    Is this what you wanted?
    (copy pasta from Ford)
    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

    Regards,
    Lem

  4. #4
    Forum Contributor
    Join Date
    06-09-2008
    Posts
    124

    Re: IF Function with AND | OR

    Very Good
    Thank you Crooza & Lemice

+ 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. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  3. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  4. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  5. [SOLVED] IF Function referencing IsNumber, Match, Left function on separate sheets
    By Touch9713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2013, 10:09 PM
  6. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  7. [SOLVED] Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 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