Forum Discussion

DCP81's avatar
DCP81
Copper Contributor
Aug 25, 2022

Finding a percentage based on a condition

I was wanting to know how to get a percentage of a cell based on if another cell has a text value of "yes". So for example if cell A1 = 100 and cell B1 = YES then I want to multiply A1*.25 and display it in B1. I've tried a few different thing such as  =if(B1 "Yes", sum(A1*.25)) but that gives me an error. Any ideas.