Excel:如何合并两个不同的公式?

时间:2019-03-29 17:47:29

标签: excel excel-formula

我不知道如何合并这两个公式。我在短片中显示的问题的公式是:

视频:https://drive.google.com/open?id=1b7hQ0RUU5J0damoiwc92_B5HvVgfTHE8

工作表:https://drive.google.com/open?id=1rej13qQrGmQCQxgiDxsfceGr12FhgJEg

公式1:

{=TRUNC(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0))/(10^(INT((LEN(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0)))-1)/3)*3)),2)&" "&INDEX({"KB","MB","GB","TB"},INT((LEN(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0)))-1)/3))}

公式2:

{=TRUNC(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0))/(10^(INT((LEN(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0)))-1)/3)*3)*1.024),2)&" "&INDEX({"KB","MB","GB","TB"},INT((LEN(SUM(IFERROR(LEFT(C1:C577,FIND(" ",C1:C577)-1)*10^(MATCH(RIGHT(C1:C577,2),{"KB","MB","GB","TB"},0)*3),0)))-1)/3))}

我认为解决方案是在《 IF声明》中。

{=IF(WHAT_TYPE_HERE,Formula 1:,Formula 2:)}

0 个答案:

没有答案