我需要帮助制作动态公式,我不知道该怎么做。这是我的结构。
A4=1
B4=0
C4=1
D4=SUM(A4+B4+C4)
H4=(A4-C4)/D4*100
现在我们来到J4小组。我需要J4做的是:如果H4小于78%,我希望它告诉我在细胞A4中我还需要多少才能在细胞H4中显示78%或更高的值。这是我的样本公式,但它不正确。
=IF(H4>=0.78,"You 're fine","You Need "&INT((SUM(A4:C4)*0.78+H4)/0.22)&" to get to 78%")
答案 0 :(得分:0)
试试这个:
=IF(H4>=78,"OK",CONCATENATE("You need ",INT((A4/H4)*(100+H4))," to get to your goal"))
Test Values:
A4=100
B4=0
C4=56
Sums:
D4= 156
H4=28
答案 1 :(得分:0)
也许这适合:
=IF(H4<78,"You Need "&ROUNDUP((89*C4+39*B4)/11-A4,2)&" to get to 78%","You're fine")