Personal Development for Smart People Forums

Personal Development for Smart PeopleTM Forums

 

Go Back   Personal Development for Smart People Forums > Personal Development > Technology & Technical Skills

Notices

Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming

Reply
 
Thread Tools Display Modes
Old 09-05-2007, 05:29 AM   #1 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Olympia, Washington
Posts: 462
Erock is on a distinguished road
Default Excel question

Hey guys I'm trying to keep track of calories, and some other food related stuff. In excel, is there a way I could type in something in one cell (like egg) and it would automatically fill in the next 4 or 5 columns (calories, fat content, exc) that I had entered previously? It would seem like there would be a way to do that.

Erock
Erock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2007, 12:03 PM   #2 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Cheshire, UK
Posts: 265
Caveman Joe is on a distinguished road
Default

I've got one idea of how to do it, although I'm sure someone else could come up with something far more elegant. I'm not exactly a spreadsheet kind of guy.

In each of the extra cells, have a formula that runs something like "If that cell is "Egg," then this cell must be (so and so) calories." The problem then is that you'd have so, so many checks in each of those columns, 'cause you'd have to do one check per food item that you want remembered.

Like I say, it'll get it done, but it's a very clunky solution. Surely some other member could do it better?
Caveman Joe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2007, 01:43 PM   #3 (permalink)
Senior Member
 
Join Date: Nov 2006
Posts: 114
Dwane J. is on a distinguished road
Default

Yes it can be done and from what I read of your request I see two options:

1) For each food item you track you would need to know what the calories, fat content, etc are for each item. These attributes would need to be stored in another excel sheet or database. When you enter the values in one column then the attribute cells are automatically populated.

2) If the percentages for each food attribute is constant then you would enter a formula in the calories, fat content, etc columns based on percentage of total calories. Enter one number and the other columns would automatically populate.

It shouldn't be difficult if your information is constant and doesn't require a lot of lookups or calculations

Excel programming and development is a hobby of mine. let me know if I can be of further assistance.
Dwane J. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2007, 04:18 AM   #4 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Melbourne, Australia
Posts: 182
tobyhede is on a distinguished road
Default

I use the free Fitday.com

Might be easier than excel
tobyhede is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2007, 11:20 AM   #5 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Ballarat, Victoria, Australia
Posts: 287
aussieNickuss will become famous soon enough
Default

Well....

You could have a pre-defined set of values in one sheet (Sheet1) and the dynamic value list in another (Sheet2). What you could do is list all the calories, fat content etc. for each item of food you intend to use in sheet1 and use a lookup based on what you type into sheet2.

This might help explain....



It is a simple task that you want to do, but it is not an easy concept to explain. Try this.... Excel: Lookup Function
aussieNickuss is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2007, 01:36 AM   #6 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Olympia, Washington
Posts: 462
Erock is on a distinguished road
Default

Thanks a lot guys. Exactly what I needed.
Erock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed dating: How do you answer the question: What do you do? Horizon'sEdge Social & Relationships 17 02-06-2010 02:25 PM
Question about Christianity Nelson Spirituality, Consciousness, & Awareness 24 10-06-2007 05:38 PM
A Question - and Hello! Kura Ookami General & Introductions 2 09-01-2007 03:12 PM
self employment taxes question.... VetTechJess Business & Financial 0 06-06-2007 10:08 PM
Getting organised using Excel spreadsheet? Fusebox Personal Effectiveness 6 02-15-2007 04:50 PM


All times are GMT. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2010 by Pavlina LLC