+ Reply to Thread
Results 1 to 8 of 8

Help creating log with data from table

Hybrid View

  1. #1
    Registered User
    Join Date
    02-15-2005
    Posts
    5
    I am guessing the that simply fact that my "data" was not alphbetized was the reason for my strange errors.

    Thank you so much. That worked great, BUT, I would like to make better. The VLOOKUP is perfect for the nutrional data, but is there a way to have cell A1 on Sheet2, be a "selection list" or "drop-down" list of Column A in Sheet 1? That way the user will know exactly what options he has to pick from, rather than stabbing in the dark, hoping to hit one similar, or searching Sheet1 just to find a "food product"? I suspect this would require the VB Scipting. I have tinkered with one script that might do this, I'll have to experiment.

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    If I may interject here, Data Validation will give you the drop-down list you request. In cell A1 of Sheet2, from the main menu select Data>Validation

    On the "Settings" tab, choose 'List' in the "Allow" box and in the "Source" box, enter the range of your data on Sheet 1 (clicking the red arrow on the right end of the box will allow you to simply select your range).

    Click OK and you will now have a drop down box with your choices.

    May I recommend, for ease of use, that you simply place this Validation in each cell in Col A on Sheet2. That way, the user has the ease of simply selecting their data for each row. The VLOOKUP in Col. B will reference the value in Col. A and return the desired results.


    HTH
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    02-15-2005
    Posts
    5
    swat, i see and understand exactly what you are talking about. That will accomplish exactly what I am after. Thank you gentlemen. Now lets see if I can make it happen.

  4. #4
    Registered User
    Join Date
    02-15-2005
    Posts
    5
    Drats! Excel 2002 will not allow me to reference data on another sheet for "validation criteria". Has anyone with a new version successfully referenced another worksheet with this feature.

+ 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