简体   繁体   English

如果列c =“已完成”,我需要Excel的公式将a列除以b列

[英]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.

相关问题 如何在 excel VBA 中编写毕达哥拉斯公式,就像我需要 select 列 A 和列 B 的所有值 - How to write Pythagoras formula in excel VBA, like I need to select all the values of column A and column B 将除法公式应用于Excel宏中的整个列? - Apply divide formula to entire column in macro on Excel? 如果 B 列不为空,则在 C 列中插入公式 - Insert Formula in Column C if Column B is not Empty Excel公式将A列和B列的值转移到C和D空单元格 - Excel Formula to shift value of Column A and B to C and D empty cells 我需要在 B 列突出显示的单元格中应用什么公式 - What formula do I need to apply in the highlighted cells of Column B Excel公式匹配A列中的值,并且不返回空白列B - Excel formula match value in column A and return not blank cell column B excel-我需要从a列匹配be列的值,并在与b列相邻的单元格中返回一个值 - excel - i need to take a value from column a match to column be and return a value in a cell adjacent to column b 我需要一个公式来查找 a 列中的重复项,然后在 b 列中检查状态是否相同 - I need a formula that finds the duplicates in column a and then checks in column b if the status are the same 需要帮助为nextID excel列生成公式 - Need help in generating a formula for nextID excel column 需要Excel公式进行多行列查找 - need excel formula for multiple row column lookup
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM