+ Reply to Thread
Results 1 to 5 of 5

IF and OR function combination

  1. #1
    Registered User
    Join Date
    05-10-2007
    Posts
    3

    IF and OR function combination

    I need help on the following problem:

    I have 2 cells with numbers.
    In a 3rd cell I want to create a formula which looks at the 2 data cells and shows a value. The rules are the following:
    If C1 or C2 are bigger than Xthen C3=value1 else C3=value2
    I have some basic excel knowledge but im not very familiar with functions, so please help me out on this one.
    I'm using Excel 2007.

    Thanks in advance!
    Last edited by Mofa; 03-20-2009 at 08:28 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: IF and OR function combination

    =if(or(c1>3;c2>3);100;200)

  3. #3
    Registered User
    Join Date
    01-07-2009
    Location
    Coventry, England
    MS-Off Ver
    Excel 365
    Posts
    58

    Re: IF and OR function combination

    Please Login or Register  to view this content.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: IF and OR function combination

    Do both need to be greater or just 1? Try a formula like this for C3

    =IF(COUNTIF(C1:C2,">10")=2,8,88)

    If you need both to be greater. For only 1 change =2 to =1 and change other values as required

  5. #5
    Registered User
    Join Date
    05-10-2007
    Posts
    3

    Re: IF and OR function combination

    Works like a charm. Thank you all very much!

+ 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