简体   繁体   English

使用合并单元格求和

[英]Sum using Merged Cells

I've been trying to search formula to help me with this case, and based on search sumif based on merged cells is a BIG NO-NO. 我一直在尝试搜索公式以帮助我解决这个问题,并且基于合并细胞的搜索总结是一个很大的NO-NO。 However, i cannot overwrite the format of the table. 但是,我无法覆盖表的格式。 Therefore Im asking help for a formula to execute my needed output. 因此,我要求帮助公式执行我需要的输出。

On the image attached, 在附图上,

I need to sum all figures on Column T based on the Remark in Column W. Column Y will serve as the label of the output on Column Z. Manually Calculated it should have sum as follows: Under Rebates: 1467.77 45 Days: 1723.12 60 Days: 9.85 我需要根据列W中的备注对列T上的所有数字求和。列Y将作为列Z上输出的标签。手动计算它应该具有以下总和:在回扣:1467.77 45天:1723.12 60天:9.85

Appreciate if you can please help me with this problem. 感谢您能否帮我解决这个问题。 Thank you in advance! 先感谢您!

SUM BASED ON MERGED CELL 基于合并细胞的SUM

In X3, perhaps use the formula =IF(W3="",X2,W3 ), and drag down. 在X3中,可能使用公式= IF(W3 =“”,X2,W3 ),然后向下拖动。 You may need to change the commas to semicolons depending on your version of Excel. 您可能需要将逗号更改为分号,具体取决于您的Excel版本。 – BigBen - 大本钟

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM