Display and add up Grams/Kilograms

Geek Girl 007

Board Regular
Joined
Mar 12, 2022
Messages
172
Office Version
  1. 2021
Platform
  1. Windows
Can I show and add up displays as grams and Kilograms???

Roberta's Accounts.xlsx
ABCDE
1ProductWeightAmount Price
2White Choc0.7564.5£14.99
3W/C Strawberry0.7543
4Milk Choc0.7564.5
5Dark Choc1kg1#VALUE!£24.95
6Vanilla Paste50g1#VALUE!£5.97
Costs
Cell Formulas
RangeFormula
D2:D6D2=B2*C2
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Can I show and add up displays as grams and Kilograms???

Roberta's Accounts.xlsx
ABCDE
1ProductWeightAmount Price
2White Choc0.7564.5£14.99
3W/C Strawberry0.7543
4Milk Choc0.7564.5
5Dark Choc1kg1#VALUE!£24.95
6Vanilla Paste50g1#VALUE!£5.97
Costs
Cell Formulas
RangeFormula
D2:D6D2=B2*C2
Are you able to add in an extra column?

Cycle through different Rate Sheets.xlsm
ABCDEF
1ProductUnitWeightQtyTotal WeightPrice
2White Chockg0.7564.5 kg14.99
3W/C Strawberrykg0.7543 kg
4Milk Chockg0.7564.5 kg
5Dark Chockg111 kg24.95
6Vanilla Pasteg50150 g5.97
Sheet1
Cell Formulas
RangeFormula
E2:E6E2=IF($B2="g",$C2*$D2 & " g",IF($B2="kg",($C2*$D2) & " kg",""))
 
Upvote 0
Solution
Are you able to add in an extra column?

Cycle through different Rate Sheets.xlsm
ABCDEF
1ProductUnitWeightQtyTotal WeightPrice
2White Chockg0.7564.5 kg14.99
3W/C Strawberrykg0.7543 kg
4Milk Chockg0.7564.5 kg
5Dark Chockg111 kg24.95
6Vanilla Pasteg50150 g5.97
Sheet1
Cell Formulas
RangeFormula
E2:E6E2=IF($B2="g",$C2*$D2 & " g",IF($B2="kg",($C2*$D2) & " kg",""))
Fantastic, Thank you :)
 
Upvote 0
Column B already tells you the unit, don't need the IF's
Excel Formula:
=D2*C2&" "&B2
 
Upvote 0

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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