+ Reply to Thread
Results 1 to 8 of 8

Search Box + YES/NO Output

  1. #1
    Registered User
    Join Date
    05-02-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2203 Build 16.0.15028.20218) 64-bit
    Posts
    4

    Search Box + YES/NO Output

    Hello Everyone, I need to make my Search Box a bit smarter than it is, I guess there is a solution for this since I have found some functions that by themsleves do part of what I need.

    Please look at the Screenshot (Sample workbook attached as well):
    • I need to Input a value/string into the Search Box in/over C2
    • If the value/string is found in Colum A, then please give the output "OUT", in colum B, if not just stay at "?".
    • This output should stay at "OUT" though...because I will input other value/string in the search box.

    Excel.jpg

    I would be extremely grateful for some help here.

    Thanks a lot and regards,

    G
    Attached Files Attached Files
    Last edited by Garzzza; 05-02-2022 at 06:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,658

    Re: Search Box + YES/NO Output

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (not a screenshot of it).

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-02-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2203 Build 16.0.15028.20218) 64-bit
    Posts
    4
    Hello. Thanks. I edited my post and attached my sample workbook.

    Also, im indeferent on wheter the solution is with formulas or VBA. Any soultion is welcomed
    Last edited by Garzzza; 05-02-2022 at 06:46 AM.

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Search Box + YES/NO Output

    No need for a TextBox
    Code in Sheet Module...
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    05-02-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2203 Build 16.0.15028.20218) 64-bit
    Posts
    4

    Re: Search Box + YES/NO Output

    Thank you very very much. I will check it out in Detail and see if I can replicate it under different conditions.

  6. #6
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Search Box + YES/NO Output

    replicate it under different conditions.
    You mean other condition not as per sample file requirement?

  7. #7
    Registered User
    Join Date
    05-02-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2203 Build 16.0.15028.20218) 64-bit
    Posts
    4

    Re: Search Box + YES/NO Output

    Ok I did it. No sorry, I meant, my original table is much bigger and complex than the sample one. So I needed to change/adapt your code to that. But it worked perfectly, so thanks a lot.

  8. #8
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Search Box + YES/NO Output

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Glad to have helped...Tx for rep +

+ 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. VBA - Not getting desired output for SEARCH
    By JosephRajan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2020, 09:51 PM
  2. Output comes up with #VALUE! when I use OR() and SEARCH()
    By owenmac99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-15-2018, 11:20 AM
  3. Search data set and output corresponding value
    By freeurmind in forum Excel General
    Replies: 3
    Last Post: 09-16-2013, 03:06 PM
  4. Single Search Output
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2009, 09:07 PM
  5. Search for value and output corresponding value
    By bigbeezy in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-19-2009, 02:14 AM
  6. [SOLVED] How do I search Strings and get an output?
    By dziw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2007, 02:26 PM
  7. output a search
    By Skriit in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-06-2007, 10:16 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