+ Reply to Thread
Results 1 to 10 of 10

SEARCH and FIND

  1. #1
    Registered User
    Join Date
    04-18-2019
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    13

    SEARCH and FIND

    Dear community,

    I'm trying to use SEARCH function in a spreadsheet, which seems to be an easy task. However, somehow it doesn't work. FIND doesn't work also.

    Most probably I am simply to dumb. But I would appreciate if you help me to understand how can one do something wrong while trying to use one simple function.

    Appending a tiny test sheet.

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: SEARCH and FIND

    =or(not(iserr(search(b1,$a3:$a6))))
    cse

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,504

    Re: SEARCH and FIND

    the way you've written it, it will work with an individual cell such as =SEARCH(B1,$A6) and =FIND(C1,$A3)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    11-22-2018
    Location
    Roma,Italia
    MS-Off Ver
    2013
    Posts
    40

    Re: SEARCH and FIND

    Good evening
    I think you have to explain what you want to get because the formula works correctly if you see it and do F9
    get the matrix
    {#VALUE!. # VALUE!. # VALUE! .4}
    in fact the EE string can be found in the fourth line in position 4 and written in this way in any use you make of it must be confirmed with CTRL + SHIFT + ENTER

  5. #5
    Registered User
    Join Date
    04-18-2019
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    13

    Re: SEARCH and FIND

    Quote Originally Posted by FioreMatto View Post
    Good evening
    I think you have to explain what you want to get because the formula works correctly if you see it and do F9
    get the matrix
    {#VALUE!. # VALUE!. # VALUE! .4}
    in fact the EE string can be found in the fourth line in position 4 and written in this way in any use you make of it must be confirmed with CTRL + SHIFT + ENTER
    Thank you all very much for the very quick response.

    Well, if you wish, I'll start explaining what I am trying to do. Actually, I'm setting up a table, with tags in each row. And I want to be able to sum all numbers of a column, which belong to rows with some specific tag. For the beginning, I started with this manual: (can not post the link here. Please google superuser How to Label / Tag Items in a Spreadsheet)

    But since the formula
    Please Login or Register  to view this content.
    did not work for me via plug and play, i thought understanding it could be a good idea. So started to work through it. But already then I could not even get the very first part of it work:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-22-2018
    Location
    Roma,Italia
    MS-Off Ver
    2013
    Posts
    40

    Re: SEARCH and FIND

    Good evening
    if you share a file with some data and the result to be obtained by hand it is easier to answer

  7. #7
    Registered User
    Join Date
    04-18-2019
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    13

    Re: SEARCH and FIND

    Quote Originally Posted by FioreMatto View Post
    Good evening
    if you share a file with some data and the result to be obtained by hand it is easier to answer
    Sorry. Here is a hopefully better example. The first sum below tag1 should be 10+3=13, because rows 8 & 10 contain tag1. Sum below tag2 should be 5, because only 9th row contain tag2 (s. attachment).

    My (wrong) logic is:

    1) SEARCH(C2;Table3[tag]) should return {#VALUE! 1 #VALUE! 1 #VALUE!}

    2) ISNUMBER() should transform it to {FALSE TRUE FALSE TRUE FALSE}

    3) Table[amount] is {empty 10 5 3 empty}

    4) SUMIF(Table[amount],ISNUMBER()) should sum the second and the fourth elements of Table[amount]. {10 + 3} = 13
    Attached Files Attached Files
    Last edited by linch; 04-18-2019 at 05:46 PM.

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: SEARCH and FIND

    You can use wildcard characters with SUMIF, so use this in C3:

    =SUMIF(Table3[tag],"*"&C2&"*",Table3[amount])

    and copy to D3.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    04-18-2019
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    13

    Re: SEARCH and FIND

    Thanks a lot, Pete!

    it helped indeed.

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: SEARCH and FIND

    Well, that's good to hear.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of any post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Find 1 returns error if Find 2 is present in User form Search box
    By alexgoaga in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2018, 05:46 AM
  2. Replies: 2
    Last Post: 10-09-2018, 09:31 AM
  3. 2 step search - find results in search result
    By marcoh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-24-2018, 03:26 PM
  4. Replies: 18
    Last Post: 05-15-2018, 05:17 AM
  5. Truncate text strings using LEFT and FIND/SEARCH for multiple search terms
    By ngdoherty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2013, 07:51 PM
  6. Excel FIND/SEARCH Find Name Hours Worked
    By staceynix in forum Excel General
    Replies: 8
    Last Post: 02-01-2013, 01:39 AM
  7. Replies: 1
    Last Post: 01-31-2006, 06:25 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