+ Reply to Thread
Results 1 to 5 of 5

Lookup?

  1. #1
    Registered User
    Join Date
    03-08-2007
    Posts
    24

    Lookup?

    Hello all, I am not sure if lookup is the command I require or not, but the following is the challenge I am facing.

    I use an excel form for quotations, and have an excel database of all my customers. What I am hoping to do is when I enter the customer number in the quote form, for excel to lookup up that customer number in the database and then populate the customer name, address etc in the quote form.

    Can someone please point me in the right direction on how I could achieve this.

    Thanks in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Have you taken a look at Vlookup in Excel help...I think that is what you need.

    If you have further questions, please post back.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-08-2007
    Posts
    24
    Hi NVBC, thanks for your reply. I have read the help for Vlookup, although what I think I really require is a macro.

    I would like to enter my customer number, then execute the macro which would then lookup the customer number from another file, and populate the customers address and contact numbers.

    Any ideas?

    Thanks

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I'm not sure you really need a macro for that...

    e.g. =Vlookup(A1,[otherdoc.xls]sheet1!A1:C100,2,FALSE)


    would lookup the item in A1 of your activesheet in a Sheet1 of another workbook called otherdoc.xls within table that ranges from A1:C100 (column A holds the customer names to match and column B and C hold the information to return)... in this case items from the 2nd column (Column B) would be returned.

  5. #5
    Registered User
    Join Date
    03-08-2007
    Posts
    24
    NBVC, thanks for your help, you are correct I did not need a macro to do what I wanted to, everything is working great!

+ 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