我有一个适用于某些细胞而不是其他细胞的配方,使用这个我得到的最多,但我不希望它超过100%任何帮助赞赏。
H4是使用中的标志,I4是非使用标志
式
=IF(I4=0,--(H4>0),H4/I4-1)
数据
H4 I4 % percentage of usage
Ashtabula OH 3 8 -63%
Atlanta GA 18 7 157%
Augusta GA 11 2 450%
Avon IN 28 12 133%
Baldwin FL 0 22 -100% <--accurate, shows no usage at all
Birmingham AL 21 1 2000% <--not accurate
Bronx NY 0 19 -100%
Brunswick MD 0 47 -100%
Buffalo NY 0 16 -100%
Charlotte NC 29 1 2800%
ChattanoogaTN 5 0 100% <--most accurate positive value if everyone used the machine this would be 100% percent for all locations
照片:
用MIN()包裹你的公式
=MIN(IF(I4=0,--(H4>0),H4/I4-1),1)