+ Reply to Thread
Results 1 to 7 of 7

Yes or No Answer

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    dallas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Yes or No Answer

    Hello-

    I am trying to write a formula that will look up a value in an array and return either a yes or no as to whether it exists in the array. I thought about using a vlookup with an if statement but I cannot get them to work. Any help is appreciated. Thank you.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Yes or No Answer

    Without data, neither can I.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Yes or No Answer

    How about:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    04-17-2012
    Location
    dallas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Yes or No Answer

    ConneXionLost-
    Thank you for your reply. Unfortunately it did not work.

    I need a formula that will take a cell value from "tab 1", look in a list (array) of values on "tab 2", if the value IS in the list (array) on "tab 2", leave a "yes" and if the value IS NOT in the list (array) on "tab 2", leave a "no". Does this help describe what I need better. Your help is appreciated.

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Yes or No Answer

    Try like this:
    Please Login or Register  to view this content.
    Last edited by SDCh; 01-09-2015 at 11:51 AM. Reason: add [code]...[/code]
    Click (*) if you received helpful response.

    Regards,
    David

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Yes or No Answer

    ConneXion's suggestion will work just fine.
    You just have to input the list and value
    =IF(COUNTIF(Your_Array,Your_Value),"Yes","No")

    YourArray is your 'List on tab 2'
    YourValue is the value you want to find in the list..

    But since you haven't given specific information about exactly where your 'List' or your 'Value' is (sheet name, range like A1:A100, etc...)
    Then we can't create a formula that is that specific, we have to leave it to you to input those specifics.

  7. #7
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Yes or No Answer

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ 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. need answer - Sum if
    By pgvenkat08 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-25-2014, 06:30 AM
  2. [SOLVED] Part 2 of Help with IF answer <= X then add 1, IF answer >= then add 2
    By Aquarock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2013, 03:46 PM
  3. Message Box after no answer in an answer box
    By alrichar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 10:45 AM
  4. right answer has value 1,wrong answer has value 0
    By zeroist in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-10-2012, 10:45 AM
  5. Replies: 3
    Last Post: 06-09-2005, 11:05 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