[英]I need a formula for excel to divide column a by column b if column c=“Completed”
I need a formula for excel to divide column a by column b if column c="Completed"
. 如果列
c="Completed"
我需要一个excel公式将a列除以b列。 I've tried =IF(AK5="Completed",E13/AE13)
. 我尝试过
=IF(AK5="Completed",E13/AE13)
。 Need a little help. 需要一点帮助。
Try something like 尝试类似
=IF(C2="Completed", A2/B2,"")
Your formula is: 您的公式是:
=IF(EXACT(AK5, "COMPLETED"), E13/AE13)
Note that if C1 is not COMPLETED, the formula will return FALSE. 请注意,如果C1未完成,则公式将返回FALSE。
You are missing the third argument to Excel's if-statement. 您缺少Excel的if语句的第三个参数。 Try:
尝试:
IF(C2 = "Completed", A2/B2, "") IF(C2 =“已完成”,A2 / B2,“”)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.