+ Reply to Thread
Results 1 to 2 of 2

How to search in excel

  1. #1
    Registered User
    Join Date
    07-27-2011
    Location
    hoboken, new jersey
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to search in excel

    Hi all

    I'm a programmer but don't known much about excel programming. I'm posting this on behalf of my son who's in Africa and doesn't have much internet access. He's building a spreadsheet that will be essentially a library database with book title, subject, etc. He has put together a search form where people can type in, say, part of a title and part of a subject. Now he wants to search the spreadsheet using those keys. He was using some 'range' function but I wasn't sure that was right. Any ideas would be appreciated.

    thanks!
    john

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: How to search in excel

    He was probably using the Range.Find method. That is, IMO, the best way to do it. Since more than one item will be searched, he'll have to loop through each found cell and check that the other search criteria is also met, probably using the OFFSET function.

    Being a programmer yourself, I'm sure you've already told him that database software, such as MS Access, could handle this issue more easily and efficiently.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ 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