+ Reply to Thread
Results 1 to 4 of 4

Thread: Expression Equivalent to this Excel Program?

  1. #1
    Registered User
    Join Date
    01-31-2011
    Location
    California
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Question Expression Equivalent to this Excel Program?

    I have a huge workbook containing some dozen or so sheets of several hundred thousand rows each. The file is so large that I really need to convert it to access in order to make it useable. I now need to know if an expression will accomplish the same task as the formula I've been using in Excel. I have no experience with Access.

    [From my original excel forum post] In essence, my file is a list of names, first and last. What I'd like to do is search through the list (in particular, the LName column) and, if I find a match to any one of a couple dozen different names (including alternate spellings), the program will write a word (the standardized spelling) to the adjacent cell. I've attached a sample file so you can better understand what it is I'd like to do. The sample workbook includes the dictionary of names/alternative spellings that I'd like to use, on a second sheet.

    I originally used this formula, courtesy of JBeaucaire:
    "=IF(ISNUMBER(MATCH(C2,'Alt Spellings'!$B:$B,0)),INDEX('Alt Spellings'!$A:$A,MATCH(C2,'Alt Spellings'!$B:$B,0)),IF(ISNUMBER(MATCH(C2,'Alt Spellings'!$C:$C,0)),INDEX('Alt Spellings'!$A:$A,MATCH(C2,'Alt Spellings'!$C:$C,0)), C2))"

    So, can I do this in Access? Any tips for making the database? And writing the expression? As I said, I'm totally new to Access. Thank you all for your help!
    Attached Files Attached Files

  2. #2
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: Expression Equivalent to this Excel Program?

    What you are asking for can be done in Access, however if you are totally new to Access you need to learn to use it well before attempting such an endevor. Learn about relational databases, unique indexes and keys, and SQL. Try putting your sample into a database with two tables, create a form to perform whatever search you are trying to do. Once you've gotten as far with that as you can, post the database and ask help on specific issues that you are having.
    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

  3. #3
    Registered User
    Join Date
    01-31-2011
    Location
    California
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Re: Expression Equivalent to this Excel Program?

    Thank you for your response!

    While I am certainly willing to put in the time and effort to learn what you state above, if basic statistical analysis (including frequency analysis) is what I'm interested in, does Access sound like the program to use? Excel would have been appropriate if there weren't so very many entries.

  4. #4
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: Expression Equivalent to this Excel Program?

    I'd think Excel would work fine. You're need isn't really complex enough to warrant setting up a db in Access.
    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.2.0