+ Reply to Thread
Results 1 to 4 of 4

Finding an * and when found enter Yes or No

  1. #1
    Registered User
    Join Date
    07-12-2024
    Location
    Brighton
    MS-Off Ver
    Ms 365 Apps for Business
    Posts
    2

    Finding an * and when found enter Yes or No

    Hi,

    I am trying to write a formula that finds an * in a cell and when found enters Yes or No, I am using the formula below but not working quite right.

    =IF(SEARCH("~*", A4), "yes", "no")

    If it finds a * I get yes un the cell, but if does not find a * I get a #VALUE!

    All cells are text format so can't think what is wrong?

    Excel.png
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,982

    Re: Finding an * and when found enter Yes or No

    B1=isnumber(search("~*",a1))

    Copy down
    Last edited by CARACALLA; 07-12-2024 at 09:32 AM.

  3. #3
    Registered User
    Join Date
    07-12-2024
    Location
    Brighton
    MS-Off Ver
    Ms 365 Apps for Business
    Posts
    2

    Re: Finding an * and when found enter Yes or No

    Thank you that works, I added a bit more to populate the Cell as well

    =if(isnumber(search("~*",a1)),"Wildcard", "Simple")

  4. #4
    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. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,197

    Re: Finding an * and when found enter Yes or No

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    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.

+ 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. [SOLVED] Found MAX value but its finding first value.
    By chadd in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-30-2023, 05:32 AM
  2. Want to have Excel automatically enter the same associated data for every match found
    By Anotherjohn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2016, 11:06 PM
  3. Replies: 0
    Last Post: 02-28-2016, 10:24 PM
  4. Enter Value on Sh1, Search Database in Sh2, Return Entire Row From Found Value to Sh3
    By Aaron R Bauer in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-26-2016, 02:20 PM
  5. [SOLVED] If value found in column then enter that value after last blank cell
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-15-2015, 11:39 AM
  6. [SOLVED] Need sum function if project name is found in cell with alt enter used to list projects
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2015, 08:58 PM
  7. Replies: 10
    Last Post: 12-12-2013, 02:27 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