+ Reply to Thread
Results 1 to 3 of 3

Trouble with IFS statements

  1. #1
    Registered User
    Join Date
    02-05-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    13

    Question Trouble with IFS statements

    Hi,

    newbie here - and am struggling with an IFS statement to work.

    Basically, I am comparing data on 2 tabs, to see if the data is the same, so I can easily create a statement to check if both values in a cell are identical - I am using IF to say =IF(HD!C6=FMDI2!C6,TRUE,FALSE), so all straightforward (I guess I could also use "EXACT" to do the same, however, the tricky bit (for me anyway), if when both the cells are the same, but they both have "NO_MATCH" as the text in both cells, I want to return a different value (I hope that makes sense)!!


    so to summarise, if both cells have RED in them, it returns "TRUE", if one has RED and one has BLUE, then it returns "FALSE" - but if both cells have NO_MATCH, I want it to return "NO VALUES".

    Is this possible? Any help would be gratefully received!


    Thanks

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Trouble with IFS statements

    Something like

    =IF(HD!C6=FMDI2!C6,IF(HD!C6="NO_MATCH","NO VALUES",TRUE),FALSE)

  3. #3
    Registered User
    Join Date
    02-05-2019
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    13

    Re: Trouble with IFS statements

    That's great thanks - works a treat

    Thanks again!!

+ 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. [SOLVED] Trouble with multiple IF/AND statements
    By codemancode in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-26-2018, 04:29 PM
  2. Having trouble with if statements with 3 criterias
    By vba_newbie83 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2014, 07:45 AM
  3. [SOLVED] Trouble with nested if/and statements
    By NamiSama in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-21-2014, 11:28 AM
  4. [SOLVED] Having trouble doing what I want with IF statements.
    By poisontoast in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2012, 03:38 AM
  5. Trouble matching statements in VBA
    By bibleguy125 in forum Excel General
    Replies: 2
    Last Post: 02-14-2012, 12:52 PM
  6. having trouble with multiple if statements
    By rupp1974 in forum Excel General
    Replies: 1
    Last Post: 02-01-2012, 03:02 PM
  7. Trouble with lots of IF THEN statements???
    By Simon Lloyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2006, 10:26 PM

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