如何使用数组公式在Excel中返回一个数组的数组 [英] How to use array formula to return an array of sums in Excel
本文介绍了如何使用数组公式在Excel中返回一个数组的数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1 2 4
3 4 5
4 5 5 $ b我想要一个数组公式返回一个ARRAY = {7,12,...,
$ b < 14.11}注意它不是文本,它是一个数组可以用于其他数组公式。
目前我使用{= A1:A4 + B1:B4 + C1:C4 + D1:D4},但是如果列数很大,则无法手动处理。
解决方案认为这将评估为所需数组,并可扩展到更大的范围:
= MMULT(A1:C4,TRANSPOSE(COLUMN(A1:C4 )^ 0))
eg, we have
1 2 4
3 4 5
4 5 5
2 4 5
I would like a array formula that returns an ARRAY = {7,12,14,11} Note it is not text, it is an array can be used in other array formula.
Currently i am using {=A1:A4+B1:B4+C1:C4+D1:D4}, however if the number of column is huge I cannot handle it manually.
解决方案 I think this evaluates to the required array and could be extended to larger ranges:
=MMULT(A1:C4,TRANSPOSE(COLUMN(A1:C4)^0))
这篇关于如何使用数组公式在Excel中返回一个数组的数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文