+ Reply to Thread
Results 1 to 14 of 14

lookup table

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    13

    lookup table

    I need to place a lookup table in a work book and I'm not sure how to do it. Can someone please give me instructions??? Below is what I specifically need in my workbook. Thanks in advance!!!

    c. The workbook will need a lookup table that will lookup the tuition, clothing
    and entertainment figures depending on the selection of college, and will
    ensure that only the colleges on the list are selectable. That is, the
    worksheet will not allow the user to enter another college not in the list.
    The lookup list must be on a worksheet by itself at the end of the workbook.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    insert a new worksheet (right-click any sheettab and choose Insert, select worksheet).

    Then create a table.

    First column lists the colleges, next columns list relevant information for each college.

    Then you can use a Vlookup() formula in the selection sheet that will pull up the info from the lookup table. You can use data validation (with a list refering to the first column in your new sheet) to prevent users from entering a college not in your list.

    Check Excel help files on Vlookup and Data Validation.
    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
    04-26-2007
    Posts
    13
    I am still having problems, I can't even get the table started. I'm going to try and attach my workbook. Can comeone look at it and give me a little extra help. I'm sorry, i'm a lilttle slow
    Attached Files Attached Files

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Have you already tried to build the function using the function wizard ?

  5. #5
    Registered User
    Join Date
    04-26-2007
    Posts
    13
    No, I really don't know where to start. Excel is not my strong point and functions besides the SUM function really are a foreign language to me and I can't figure most of them out.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You zipped a link to the file, not the actual spreadsheet itself. Retry zipping the Excel file.

  7. #7
    Registered User
    Join Date
    04-26-2007
    Posts
    13
    Apparantly I didn't know how to do that either. I tried again, hope it works
    Attached Files Attached Files

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by soliver0012
    Apparantly I didn't know how to do that either. I tried again, hope it works
    Can you please re-iterate what you need?

    Also, I don't see where the college choice (drop-down menu) is being made?

  9. #9
    Registered User
    Join Date
    04-26-2007
    Posts
    13
    This is what i need specifically:

    The workbook will need a lookup table that will lookup the tuition, clothing
    and entertainment figures depending on the selection of college, and will
    ensure that only the colleges on the list are selectable. That is, the
    worksheet will not allow the user to enter another college not in the list.
    The lookup list must be on a worksheet by itself at the end of the workbook.

    I didn't know I needed to have a drop down menu

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    How would one make a college choice, then?

    Where is the list of colleges?

    So, in a new worksheet, one enters (or selects) a college, and beside that selection comes all the costs from Costs sheet? (I am assuming you only want the total costs for those 3 categories)?

  11. #11
    Registered User
    Join Date
    04-26-2007
    Posts
    13
    I should probably label it better. The list of colleges is in the worksheet labeled COSTS b/c I have included the costs for all.

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Have a look at the attached and see if it is what you need.

    I created a sheet called Choices and in column Q I listed the colleges from your Costs sheet and named the list "Colleges". You can move this list anywhere you want or hide the column.

    I then created a Data Validation drop down list in B2 which references that list. When you click on this cell you get a list to choose from. If you try typing something in, it will give an error.

    Once the choice is made, the corresponding tuition, clothing and entertainment costs populate.

    Hope this is what you were looking for.

    Regards.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-26-2007
    Posts
    13
    You are so totally awesome!!! Now i need the same for books and room and board. Also when I seleced virginia polytechnic , it was blank so how do i fill those in?? I tried to look at the other formulas but it was a little confusing and i wasn't sure if i needed to do something else first. I am so very appreciative of your time, this is exactly what i need!!
    Attached Files Attached Files

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I'm glad to help.

    The only thing that changes in the formulas for the other items in the Indexing column. See attached.

    Another key is to have consistent table size. The Virginia Polytechnical Institute and State University section included an extra row. I put the State University part with the first part and deleted an empty row to keep consistency....you will also have to update the Colleges list in column Q of the Choices tab.

    Good Luck.
    Attached Files Attached Files

+ 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