+ Reply to Thread
Results 1 to 4 of 4

Finding exact words i strings

  1. #1
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Finding exact words i strings

    Hi

    I have a column B with a lot of text strings (B2:B124508), and a row1 with approx. 1500 words (C1:BFF1) I'd like to look for in these texts.

    Trying to autofill the formula = if(iserror(search(C$1;$B2));1;0) , the program crashes or at least kindly announces that it can't fulfill the task with the available resources, blah blah....

    Is it just the way it is? That is, I'm expecting more than my computer and or the program can handle? Or are there any kind genius VBA way to work around this problem?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Finding exact words i strings

    That formula is pretty simple. What happens when you add it to just a 100 rows at a time or so?

    I'm asking because those functions are not volatile, they should only need to calc once per cell and then go dormant unless you updated the row or column text strings again. So the trick is to just get them in there one time.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-28-2010
    Location
    Denmark, Europe
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Finding exact words i strings

    It works fine if I do it for a 100, maybe 1000 rows at a time. But beyond that it crashes. Maybe my database has grown to big for Excel..?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Finding exact words i strings

    Maybe my database has grown to big for Excel..?
    First thing to teach yourself when using Excel.... "Excel is not a database".

    Second thing: "Everyone uses Excel like a database."

    Third thing: "Eventually people doing #2 are faced with the reality of #1."

    If you're doing that much business and have that much important data that must be crunched from a single place, then you MUST bite the bullet and move to an actual database like Access or SQL, whatever.

    Whatever the frustration in time and cost to make this transition, spend it, now, make yourself. 6 months from now you will look back and say, "What was I thinking, this is so much better!".


    And never forget the first lesson.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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