+ Reply to Thread
Results 1 to 4 of 4

If, Then Else and Equals.

  1. #1
    Registered User
    Join Date
    02-11-2010
    Location
    Down Under
    MS-Off Ver
    Excel 2007
    Posts
    2

    If, Then Else and Equals.

    Hi,

    I have to little "programminng" issues I really need help with. Me being stuipd, thought I could make up a little excel spreedsheet to do the scoring for the little aths. Works out, long time since Ive used Exeal and I have forgotten a lot of it.

    1st Problem:

    If k15 equals "green" and also L15 equals "08" then display "8", if not then display nill.

    I tried:
    =IF(K15="GREEN" AND L15="08" ,"1","")

    2nd:

    If C15 equals the same as L15 then display "OK" if not, then display "X".

    If you need anymore information, I'm happy to provide.

    Thank you very much for your help!

    Cheers
    Pete
    Last edited by listerofsmeg; 02-11-2010 at 07:06 AM.

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

    Re: If, Then Else and Equals.

    1st: Try =IF(AND(K15="GREEN",L15=8),1,"")

    2nd: =IF(C15=L15, "OK", "X")

  3. #3
    Registered User
    Join Date
    02-11-2010
    Location
    Down Under
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: If, Then Else and Equals.

    YAY, it works!

    What if on the 1st one, I wanted to make it equals if ture AO15

    Cheers
    Last edited by listerofsmeg; 02-11-2010 at 06:47 AM.

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

    Re: If, Then Else and Equals.

    Just add =IF(AND(K15="GREEN",L15=8,AO15="whatever"),1,"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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