+ Reply to Thread
Results 1 to 10 of 10

find formula inputs

  1. #1
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    find formula inputs

    Hi all,
    I seem to get the FIND formula working only when I reference to a cell with the text I want to find.
    When I try to use it this way:
    =find(xxxxx,within_text destination)
    or
    =find('xxxxx',within_text destination)

    I get errors.
    It seems reasonable that you could do it without referencing a cell, but how?

    So, just curious - can it be done and if so how?
    Thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: find formula inputs

    You refer to Mike Garvin's Excel Magic Trick 520.

    If a forummember want to look at it, they have to google for that file.

    Maybe you can post an link in your question.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: find formula inputs

    I didn't post it because it's not essential for the question......... just wanted to reference the master

    good point though

    http://www.youtube.com/watch?v=2R2OYJbKHlA

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: find formula inputs

    Hi, ANS,

    did you try using quotes?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    where I assumed that within_text_destination is a named range of a single cell. And I would suggest using an error handling in case no match is found as well.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: find formula inputs

    Hi,
    thanks for the reply!
    Yes, regular and double quotes. No go.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: find formula inputs

    This will work:

    =FIND("can","where can I find an icecream shop") The result is 7
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: find formula inputs

    If you use SEARCH instead of FIND you won't run into errors caused by the case of the letters. SEARCH isn't case sensitive while FIND is.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: find formula inputs

    Some excel wiz has probably figured a way around this, but generally speaking, FIND/SEARCH is used to find text/numeric in a specific string, and then to return the position withIN that string where the search criteria begins - it is based on a string (read cell) not a range.

    A1 = 123456 =FIND(345,D3,1) answer is 3
    A1 = abcdef =FIND("cde",D3,1) answer is 3
    A1 = abcdef =FIND("CDE",D3,1) answer is #VALUE! (because find is cap-sensitive)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  9. #9
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: find formula inputs

    Thank you

  10. #10
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: find formula inputs

    Thnk you

  11. #11
    Registered User
    Join Date
    09-30-2012
    Location
    Tel-Aviv
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: find formula inputs

    Thanks for your explanation

+ 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] Getting different formula outputs for different given inputs
    By Jay Pee in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-12-2013, 04:19 AM
  2. Formula with 3 variable inputs
    By DJ KooPee in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-26-2011, 10:57 AM
  3. Efficient formula for more than 2 inputs - IFs...
    By pastecopy in forum Excel General
    Replies: 2
    Last Post: 10-11-2010, 07:13 PM
  4. [SOLVED] How to find a find a list of possible inputs to sum a known amt?
    By JimBunch in forum Excel General
    Replies: 2
    Last Post: 02-18-2006, 01:25 PM
  5. Find value in table based on two inputs
    By AMDRIT in forum Excel General
    Replies: 3
    Last Post: 12-30-2005, 12:50 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