[英]Can you copy array formula down without having to hit Ctrl+Shift+Enter?
I tried a fix like under "excel array formula: not have to 'ctrl-shift-enter'?" 我尝试了类似“ Excel数组公式:不必'ctrl-shift-enter'吗?”下的修复程序。 Here's my formula:
这是我的公式:
=(0*0)+SUM(IF(A10=Bundle!$B$2:$B$58233,1/(COUNTIFS(Bundle!$B$2:$B$58233,A10,Bundle!$N$2:$N$58233,Bundle!$N$2:$N$58233)),0)) =(0 * 0)+ SUM(IF(A10 =捆绑$ B $ 2:$ B $ 58233,1 /(COUNTIFS(捆绑$ B $ 2:!$ B $ 58233,A10,捆绑$ N $ 2:$ N $ 58233,捆绑$ N $ 2:$ N $ 58233)),0))
The "before the fix" formula works, but there are a lot of rows, and it would take a long time to Ctrl+Shift+Enter all 2624 times. “修复之前”公式有效,但是有很多行,并且Ctrl + Shift + Enter全部2624次将花费很长时间。 I added the code as suggested and the "0*0" like above, but it didn't work.
我按照建议添加了代码,并添加了“ 0 * 0”,如上,但是没有用。 Do I have to do something to activate the code?
我需要做些什么来激活代码吗?
This and several other posts online suggest that array formulas will just fill-down, but that doesn't work either. 这篇在线文章以及其他几篇在线文章都建议仅使用数组公式进行填充,但这也不起作用。
Thanks, John 谢谢,约翰
If the array formula is in cell B2, and you want to copy and paste the formula to cells B3:B10, you can ONLY paste the formulas to cells B3:B10 . 如果数组公式位于单元格B2中,并且您要将公式复制并粘贴到单元格B3:B10中,则只能将公式粘贴到单元格B3:B10中 。 You can't include cell B2 when you paste the formulas or you will get a "you cannot change part of an array" error message.
粘贴公式时,不能包含单元格B2 ,否则会出现“无法更改数组的一部分”错误消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.