+ Reply to Thread
Results 1 to 4 of 4

IF Statement and Vlookup Formula....something small missing!! HELP!

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2010
    Posts
    29

    IF Statement and Vlookup Formula....something small missing!! HELP!

    Good Morning! I know this is simple and I cannot figure it out.


    On Sheet A, I have a list of items and I simply want to look at Sheet B and see if it exists. If so, I want it to return "YES" and if it does not exist, I want it to return "NO". My formula is below and the sample workbook is attached. Any help is greatly appreciated!!!


    =IFERROR(VLOOKUP(A3,'Sheet B'!$A:$A,1,FALSE),"No") - works fine, but it doesn't but doesn't return the "YES", only the matching value

    =(IF(VLOOKUP(A2,'Sheet B'!$A:$A,1,FALSE),"Yes","No") - thought this would work, but it doesn't work either.

    I am missing something!!
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF Statement and Vlookup Formula....something small missing!! HELP!

    Hello.

    1 way
    Formula: copy to clipboard

    =IF(COUNTIF('Sheet B'!A:A,A2),"yes","no")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: IF Statement and Vlookup Formula....something small missing!! HELP!

    Wow, thank you!! It worked well. I also liked that is a much simplier way to get the desired result!! Just to make sure I understand, can you explain what formula is doing?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF Statement and Vlookup Formula....something small missing!! HELP!

    Formula: copy to clipboard
    =IF(COUNTIF('Sheet B'!A:A,A2),"yes","no")


    Formula try to match the value of A2(a3..a4 as copied down) in column A of your second sheet. If Matches, gives you a "yes". Or else gives you a "no"

+ 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 missing parenthesis in formula
    By Abyrose in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2014, 06:24 PM
  2. [SOLVED] How to find n-th small missing number?
    By Guerolito in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-13-2013, 11:42 AM
  3. What am I missing? Vlookup Formula does nothing.
    By Bobbo Jones in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 08:06 PM
  4. [SOLVED] VBA - If statement and small piece of code
    By conorcleary in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-17-2012, 11:34 AM
  5. Missing data from VLOOKUP formula
    By carlbarratt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-07-2010, 07:22 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