+ Reply to Thread
Results 1 to 11 of 11

Modify search results based on text in another cell

  1. #1
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Modify search results based on text in another cell

    Need a formula modified to give results based on the contents of another cell.
    Please and thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,078

    Re: Modify search results based on text in another cell

    in F3
    =IF(E3="SPV","EOD","")
    and copy down
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,078

    Re: Modify search results based on text in another cell

    Oh you have a formula already in column F?
    Then try this

    in F3
    =IF(E3="SPV","EOD",IF((SUM(IFERROR(SEARCH("EOD",$B3),0)))>0,"EOD",""))

  4. #4
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Modify search results based on text in another cell

    Hi, Special_K

    Thanks. Almost. Hope my sample wasn't wrong but I have applied your formula and there's a SNAFU.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Modify search results based on text in another cell

    Doesn't seem to work.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Modify search results based on text in another cell

    Why do you have ' before EOD in column F? Why is there a ' in some empt cells in F and not in others? They're not required...

    =IF(E3="SPV",F3,"")&""
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,078

    Re: Modify search results based on text in another cell

    All I've done is place IF E3 is SPV then EOD otherwise your formula?
    If this is not the result you want then you need to define things more clearly.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Modify search results based on text in another cell

    Quote Originally Posted by Special-K View Post
    If this is not the result you want then you need to define things more clearly.
    I agree, too!!

  9. #9
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Modify search results based on text in another cell

    Thanks, Glenn. This one does it. Think you saved me again. As for the ' ? Not sure but maybe because I pasted values instead of including the formulas?

  10. #10
    Forum Contributor
    Join Date
    02-26-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    248

    Re: Modify search results based on text in another cell

    Hi, Special-K and Glenn

    Thought I was clear. I'll try to be clearer next time I post a question. Thanks to you both for your time.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Modify search results based on text in another cell

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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: 4
    Last Post: 02-14-2017, 06:14 PM
  2. Search Different Ranges Based On Different Cell Results
    By BrianOfNazareth in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-31-2016, 10:50 AM
  3. [SOLVED] Search Text String separated by Commas and do a Vlookup based on results
    By Rschwar23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2013, 01:45 PM
  4. [SOLVED] Search a range for cells that have values and set value in another cell based on results
    By Catsup in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2013, 04:57 PM
  5. [SOLVED] search for specific text in a file and return a value to a cell based on the results
    By JJGF in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-03-2013, 07:00 PM
  6. list alternate cell based off search function results
    By agragg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2012, 05:41 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