任意三个数求和,就是一行数字1,2,3,4,5,6,7,8,9,任意三个数求和 ...
任意三个数求和,就是一行数字1,2,3,4,5,6,7,8,9,任意三个数求和, 坛友您好~!为了问题更快更好的得到解决,并且节省帮助您的坛友的时间~!
请说明问题,模拟结果,并上传压缩附件~!
请阅读:
EXCEL函数与公式版:新人必读之发贴要素 请上传附件,模拟结果,说明需求 任意三个数求和,,
365版本=LET(aa,SMALL(IF(MMULT(INT(MOD(ROW($1:$1024)*2/2^COLUMN(A:J),2)),ROW(1:10)^0)=3,ROW($1:$1024)),ROW(1:1)),SUM(INT(MOD(aa*2/2^COLUMN(A:J),2))*$V$7:$AE$7))
下拉。
设计了半天公式,才发现楼主的问题是个非常简单的问题,
这10个数就是0-9,任意3个相加,最小值是0+1+2=3,最大值7+8+9=24,去掉重复,所以答案是3-24,22个数。何须公式 10个数字,有120种3个数字的组合,结果120个和值。
感觉这种计算没多大意义,为了减少运算量直接常数吧
=MMULT(V7:AE7,--MID(BASE({896,832,800,784,776,772,770,769,704,672,656,648,644,642,641,608,592,584,580,578,577,560,552,548,546,545,536,532,530,529,524,522,521,518,517,515,448,416,400,392,388,386,385,352,336,328,324,322,321,304,296,292,290,289,280,276,274,273,268,266,265,262,261,259,224,208,200,196,194,193,176,168,164,162,161,152,148,146,145,140,138,137,134,133,131,112,104,100,98,97,88,84,82,81,76,74,73,70,69,67,56,52,50,49,44,42,41,38,37,35,28,26,25,22,21,19,14,13,11,7},2,10),ROW(1:10),1)) 三键可以,不知怎用,aa.$1:$1024,1:10等等
页:
[1]