New to formulas

Totallylost

New Member
Joined
Jun 1, 2023
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Hi.
Due to a recent health issue I have had to create a spread sheet for Fat and Salt content in foods, however I have absolutely no idea on how to create a formula to change a value in one field that then multiples the values in other fields on the same row.
Example. Cell 1 contains quantity, then cells 2, 3, 4 and 5 contain the contents values for that single item, what I am after creating is a formula that when I alter cell 1 to increase or decrease the other 4 cells reflect the increase or decrease of that gain/loss.
Sorry I am a real newbie at this having not used excel in over 15 years. Any help will be appreciated.
Thanks
Rich
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
you can make new columns to add the totals into
if you want the values to change in the cell you would need vba

so you would multiply cell 1 by cell2 , 3, 4 ,5
like this

cell with quantity * cell2
=$A2*B2


Book1
ABCDEFGHIJ
1quantiy1 per item2 per item3 per item4 per itemtotal for 1total for 2total for 3total for 4
211.23.26.131.23.26.13
321.23.26.132.46.412.26
4101.23.26.1312326130
Sheet1
Cell Formulas
RangeFormula
G2:J4G2=B2*$A2
 
Upvote 0
Rich.
Very similar here. Only a guide.
You will need a reference table that suits your way of working.

MayMrXL.xlsm
ABCDEFGH
1Gram Per Portion Reference g/100g
2Food ItemPortion gmFatSaltOtherFatSalt
3Food 17518.752.2554253
4Food 2507340146
5Food 34202528.4159.6602
Sheet15
Cell Formulas
RangeFormula
C3:D5C3=$B3/100*G3
E3:E5E3=B3-SUM(C3:D3)


Hope that helps
 
Upvote 0

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top