Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Not sure where to post this, so I will try it here.

Latest post Wed, Feb 13 2008 3:42 PM by Nick Hodge. 1 replies.
  • Wed, Feb 13 2008 3:30 PM

    • Javan
    • Top 500 Contributor
    • Joined on Wed, Feb 13 2008
    • Posts 1
    • Points 21

    Not sure where to post this, so I will try it here.

    I am not sure how to adequately post this question, but I will try.  Currently, I have an excel file that I use to track my daily food intake, and calories burned.  I have it set up such that each day is a new tab, and I simply copy each tab and rename to the next day.  Therefore, all the “data” is mostly repeated. 

     

    Here is an example of what part of it currently looks like: 

    Meal 1 428.0 Amt Cal Prot Fat Sat Fat Trans Fat Carbs Fiber Sod Chol         Cal Prot Fat Sat Fat Trans Fat Carbs Fiber Sod Chol
    2 egg omelet 1 serv 0 178 4.5 1 0.5 0 1.8 0.25 108 2.4   0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0

    Columns A to L are the "data", columns N to W are the results of cell C2*D2, E2, F2, etc.

    I would like to be able to click on cell A2, and have it be a pull down, where all the food choices from a "data file" are listed, then I select "2 egg omelet" and just have to put in the proper amount.

    Is this possible?

    • Post Points: 21
  • Wed, Feb 13 2008 3:42 PM In reply to

    • Nick Hodge
    • Top 10 Contributor
    • Joined on Sun, Dec 23 2007
    • Southampton
    • Posts 336
    • Points 5,771
    • MVP

    Re: Not sure where to post this, so I will try it here.

    Javan

    Unfortunately your table has been truncated as it is too wide for the window.

    I believe we can use data validation here. Set up your list somewhere and then use Data>Validation.. and select 'list' from the 'allow' dropdown (You could type a comma seperated list in the 'source' box if you want). If the list is on another sheet, use a named range (Insert>Name>Define...) and refer to that in the source box (e.g =RangeName)

    Regards
    Nick Hodge
    Microsoft MVP, Excel
    Southampton, UK

    Filed under:
    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.