Forum Discussion
appletonthecat
Dec 11, 2022Copper Contributor
calculating abv in cocktails
Hey Guys, I am trying to find a formula to calculate the ABV in a cocktail recipe using ML column a Column b Column C Column d Column e Spirit Quantity Un...
- Dec 11, 2022
=SUMPRODUCT(B2:B6,E2:E6)/SUM(B2:B6)
Format the cell with the formula as a percentage.
HansVogelaar
Dec 11, 2022MVP
=SUMPRODUCT(B2:B6,E2:E6)/SUM(B2:B6)
Format the cell with the formula as a percentage.
appletonthecat
Dec 11, 2022Copper Contributor
thanks for the quick response, but i just can't seem to get it to work, I have attached the sheet
tab salty cocktails
column J 28
cheers
dave
- HansVogelaarDec 11, 2022MVP
Not sure this is what you want (and you already marked PeterBartholomew1's reply as the answer), but see the attached workbook.
- appletonthecatDec 11, 2022Copper Contributor
Hey
I hit the best reply by accident, what you gave me on the sheet is exactly what I was looking forthanks for the help
cheers
dave
- PeterBartholomew1Dec 11, 2022Silver Contributor
Your formula worked for me and was actually more robust when it came to the blank strings returned by VLOOKUP. My formula was happier with zeros.