Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JJ JJ is offline
external usenet poster
 
Posts: 122
Default Calculated value to a table

How would I set this calculated value up? Fat contains nine calories per
gram. I want to calculate the calories from fat for each food item. The
percentage of fat is calculated by dividing the calories from fat by the
total number of calories. What would this formula look like?
--
jj
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Calculated value to a table

=fat * 9 / total calories

A2 = total calories = 100
B2 = fat = 10g

=B2*9/A2

format as %

90% of the calories come from fat


--
Biff
Microsoft Excel MVP


"JJ" wrote in message
...
How would I set this calculated value up? Fat contains nine calories per
gram. I want to calculate the calories from fat for each food item. The
percentage of fat is calculated by dividing the calories from fat by the
total number of calories. What would this formula look like?
--
jj



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
calculated field in a pivot table Akramx Excel Discussion (Misc queries) 1 March 17th 06 03:28 AM
calculated field in a pivot table? baabaa Excel Discussion (Misc queries) 1 November 25th 05 08:08 AM
% of calculated field in pivot table sc Excel Worksheet Functions 0 September 30th 05 04:53 PM


All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"