Formula required

vvinod

New Member
Joined
Nov 13, 2024
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
VersionLine TypeIngredientQty MT
3ProductG20
3IngredientB15
3IngredientC5

Is there any formula in excel 2019 to take output as Ingredient B 75% and ingredient C 25% against the product G and version 3
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
VersionLine TypeIngredientQty MTIngredient %
3ProductG20
3IngredientB1575%
3IngredientC525%
 
Upvote 0
Book1
ABCDE
1
2VersionLine TypeIngredientQty MTIngredient %
33ProductG20
43IngredientB1575%
53IngredientC525%
Sheet2
Cell Formulas
RangeFormula
E4:E5E4=D4/D$3
 
Upvote 0
No man there are 1000 line items with different product code different version so required a formula to calculate
 
Upvote 0
So tell us exactly what you need with sample data of more than one line.
For example, how do we know that ingredients B and C belong to product G?
 
Upvote 0
Perhaps this. Try:
Book1
ABCDE
1
2VersionLine TypeIngredientQty MTIngredient %
33ProductG20 
43IngredientB150.75
53IngredientC50.25
64ProductG50 
74IngredientB250.5
84IngredientC250.5
Sheet2
Cell Formulas
RangeFormula
E3:E8E3=IF(B3="Product","",D3/MAXIFS($D$3:$D$8,$B$3:$B$8,"Product",$A$3:$A$8,A3))
 
Upvote 0

Forum statistics

Threads
1,223,923
Messages
6,175,395
Members
452,640
Latest member
steveridge

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