简体   繁体   English

您是否可以在不按Ctrl + Shift + Enter的情况下向下复制数组公式?

[英]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.

相关问题 如何在excel范围内显示1或2 dim varraint array()返回excel UDF函数而不使用Ctrl + Shift + Enter数组论坛方法 - How to display a 1 or 2 dim varraint array() return from an excel UDF function in an excel range without Ctrl+Shift+Enter array forumla method ctrl shift输入数组 - ctrl shift enter for array Excel VBA-用户定义函数-将与数组相关的公式(常规公式上为CTRL + SHIFT + ENTER)转换为UDF - Excel VBA - User Defined Function - converting array related formula (CTRL + SHIFT + ENTER on a normal formula) to a UDF 获取Excel插件以修改数组公式参数; 或执行“ ctrl-shift-enter” - Getting Excel add ins to modify array formula parameters; or perform 'ctrl-shift-enter' 您能否使用嵌套有 SUBSTITUTE/LEN/RIGHT 函数的 ArrayFormula 复制列中的公式? - Can you copy down a formula in a column using ArrayFormula that has SUBSTITUTE/LEN/RIGHT functions nested in it? Excel VBA Ctrl-Shift-Enter 数组 function 与编写长工作表相比非常慢 - Excel VBA Ctrl-Shift-Enter array function very slow compared to writing long worksheet function 如何在 java 中将二维数组的行向下移动 1? - How can I shift the rows of a 2d array down by 1 in java? 填充字符串数组,而不必输入每个条目 - Populate a string-array without having to enter every entry 如何输入多个数组公式 - How to enter multiple array formula 在vba中将数组下移一位 - Shift array down by one in vba
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM