+ Reply to Thread
Results 1 to 5 of 5

Return TRUE or FALSE if conditions met

Hybrid View

  1. #1
    Registered User
    Join Date
    07-22-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    2

    Return TRUE or FALSE if conditions met

    Hi, I'm looking to write a formula that will take a value, say an email address from a cell and then look for it in another work sheet, if it finds it the formula will then look in a specific column in that sheet for another specific value which will be defined in the formula, if that is then found it will return TRUE, if not it will return FALSE.

    Any help is greatly appreciated, I've managed to have a work round for a long time but this really needs to be collated for the work I am doing.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,621

    Re: Return TRUE or FALSE if conditions met

    Please post a sample sheet with some data and expected results. See yellow banner for how-to

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Return TRUE or FALSE if conditions met

    Welcome to the forum, but your post is too vague for us to recommend a specific formula, without a lot of assumptions on our part. You refer to "a cell containing an email address" - well, which cell is it, and will it only contain one email address?

    You want to look in "another sheet", but what is the sheet name, and which column might the email address be in? Then you want to look in another column for a "specific value". Which column is this, and what is the specific value?

    It would save a lot of time if you attached a sample workbook. Instructions on how to do this are given in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-22-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    2

    Re: Return TRUE or FALSE if conditions met

    Apologies, find attached.

    The cell containing the email address will only contain that specific value, the value would then be in the same format (in its own cell) in another cell, the second value to check for would be mixed in like shown in the attached document, spaced with +s, I would only want to check for that specific value like in the example below.

    For example I would want to look for ab email in Sheet2 and then look at if F12 is contained in the B column, if those two conditions are met then return TRUE.

    The same for gh email and B1, which would return FALSE.

    Apologies I can only write the address as ab email and gh email as the proper email address counts as a link which I cannot yet post.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,984

    Re: Return TRUE or FALSE if conditions met

    This proposal employs a helper column (C) on Sheet2, which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =ISNUMBER(SEARCH("F12",B2))
    The formula that populates the User? column on Sheet1 is: =IFERROR(INDEX(Sheet2!C$2:C$5,MATCH(A2,Sheet2!A$2:A$5,0)),FALSE)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 3
    Last Post: 08-16-2018, 06:07 AM
  2. [SOLVED] IF logical test pass return with 1st LOOKUP if true, if false then return with 2nd VLOOKUP
    By powerzasty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-21-2017, 03:55 PM
  3. [SOLVED] How to get TRUE or FALSE based on 2 conditions?
    By vcl_over in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2013, 11:51 AM
  4. Check four conditions return TRUE or FALSE
    By mkvassh in forum Excel General
    Replies: 6
    Last Post: 11-16-2009, 07:26 AM
  5. [SOLVED] Search for 2 true arguments and return true or false
    By David in forum Excel General
    Replies: 3
    Last Post: 07-15-2006, 05:20 AM
  6. how to use true or false conditions
    By buff in forum Excel General
    Replies: 2
    Last Post: 05-21-2006, 06:40 PM
  7. Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 AM

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