+ Reply to Thread
Results 1 to 7 of 7

values from range present in string?

Hybrid View

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: values from range present in string?

    As Ford stated you need to use SEARCH, not LOOKUP. Here is your worksheet with the correct formula and some other examples.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Registered User
    Join Date
    05-10-2013
    Location
    Pomáz, Hungary
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: values from range present in string?

    Give this formula a try:

    =SUM(COUNTIF(B1,"*"&A$1:A$6&"*"))>0

    Confirm with Ctrl+Shift+Enter.
    Last edited by István Hirsch; 01-23-2015 at 12:34 PM.

+ 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: 2
    Last Post: 09-03-2014, 03:37 AM
  2. [SOLVED] present values as percentage of sum total of range
    By Christopher135 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2013, 07:50 PM
  3. [SOLVED] Auto Hiding rows based on range/data present or not present.
    By raze in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-10-2013, 11:27 AM
  4. Look Up String In Range; If present, Set next Cell to '1'
    By Snoopy2010 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2010, 10:58 AM
  5. Copy For Cell Values Present and not Formulas Present
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2009, 12:10 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