Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8483087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:59:34+00:00 2026-06-10T19:59:34+00:00

What is function to search for a string in an excel cell and have

  • 0

What is function to search for a string in an excel cell and have another string displayed in the second cell whether that string was found in the first cell.

For example:

Cell A1 contains text: “This is some sample text”

I have a list of predefined strings in a column in another sheet, and they are: “text, sample1, sample2, string” (all in separate cells)

Cell A2 should then display: text – because the word text exists in cell A1, so basically need to match only specific words from one cell to the other. In real life A1 will have many words but I need to just look for one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:59:36+00:00Added an answer on June 10, 2026 at 7:59 pm

    If your list of 4 text strings are in Sheet2!$D$1:$D$4 then try this formula in A2

    =LOOKUP(2^15,SEARCH(Sheet2!$D$1:$D$4,A1),Sheet2!$D$1:$D$4)

    for your example that will return “text”. In general it will return the last matching word from that range

    …..you can also modify that slightly to match whole words only

    =LOOKUP(2^15,SEARCH(" "&Sheet2!$D$1:$D$4&" "," "&A1&" "),Sheet2!$D$1:$D$4)

    assumes only spaces between words (no punctuation)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example i have this function that search for files: public void Search(string strExtension,
I have an active directory search function: Function GetAdInfo(ByVal ADDN As String, ByVal ADCommonName
I'm trying to implement a simple search function. I have a string array which
I would like to know if is there any function that search a string
I have an array returned by the function Search.all : => [#<Search id: 7,
I have a similar code snippet like this class Search { public function search($for,
I have a search function in my project. In the searchable.xml, i would like
I have a search function in which i am returning all the records of
We have a excel file with a bunch of sheets. The first sheet is
I basically need a function to check whether a string's characters (each character) is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.