+ Reply to Thread
Results 1 to 3 of 3

Need if statement to answer one of 3 possibilities

Hybrid View

  1. #1
    Registered User
    Join Date
    06-29-2020
    Location
    Harriman, NY
    MS-Off Ver
    Excel 365 Desktop
    Posts
    24

    Red face Need if statement to answer one of 3 possibilities

    Good morning,
    I am trying to figure out an if statement where the outcome can be one of three answers.

    I am trying to see if incoming data matches what I already have in my database. The outcome should be as follows:

    If the data matches, It should say match.
    If the data is different, Excel should say Update.
    If the incoming data is blank on a line, the outcome of the statement should say new data.

    Attached is an example of how it should look.

    Thank you in advance for your help.

    Carol
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,878

    Re: Need if statement to answer one of 3 possibilities

    Formula: copy to clipboard
    =IF($B2="","New Data",IF($A2=$B2,"Match","Update"))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    06-29-2020
    Location
    Harriman, NY
    MS-Off Ver
    Excel 365 Desktop
    Posts
    24

    Re: Need if statement to answer one of 3 possibilities

    Thanks so much, John.

    This is working perfectly for me!

+ 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] IF statement not returning correct answer
    By speedrazer in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-23-2021, 12:32 PM
  2. [SOLVED] Getting an answer out of an OR statement.
    By JulianS96 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2019, 09:26 AM
  3. [SOLVED] IF statement gives wrong answer
    By L.LEE in forum Excel General
    Replies: 1
    Last Post: 08-13-2016, 10:23 AM
  4. [SOLVED] IF statement with multiple possibilities
    By Glayva in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2012, 10:18 AM
  5. Prompt Question before print with three answer possibilities
    By FallingDown in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2012, 09:13 AM
  6. IF statement for multiple possibilities
    By Chris86 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2009, 08:35 PM
  7. An if statement for more than two possibilities
    By percivaltroy in forum Excel General
    Replies: 2
    Last Post: 05-25-2009, 04:29 AM

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