简体   繁体   English

如何在Excel上将单元格值报告给另一个单元格

[英]How to report cell value to another cell on excel

I'm entering datas in A column of a table. 我正在表的A列中输入数据。 According to the datas, I making sums from the yellow cell (actually this yellow cell is the high value of the A column). 根据数据,我从黄色单元格求和(实际上,这个黄色单元格是A列的高值)。 So all 10 cells, there is a sum until the end of datas. 因此,所有10个单元格的总和直到数据结束。

I'm looking for automatically report the seven first grey cells (the sums)to another table. 我正在寻找自动向另一个表报告前七个灰色单元格(总和)。 The problem is, according to the datas, high value is not at the same place so the sums are not to the same place too. 问题在于,根据数据,高价值不在同一地点,因此总和也不在同一地点。

在此处输入图片说明

在此处输入图片说明

How can I do ? 我能怎么做 ?

Thank you for your help 谢谢您的帮助

MY ERROR : 我的错误:

在此处输入图片说明

And the message when I press ctrl maj enter in same time : 当我按ctrl maj时,消息会同时输入:

在此处输入图片说明

You might use this array formula in your report. 您可以在报表中使用此数组公式。

=INDEX($F:$F,SMALL(ROW($F$4:$F$117)+(100*(F$4:$F$117="")), ROW(F1)))&""

Bear in mind that, as an array formula, it must be confirmed with Control+Shift+Enter. 请记住,作为数组公式,必须使用Control + Shift + Enter进行确认。 Enter the formula in the row where you have Somme = 1, then copy down to 6. Note that Row(F1) is a counter. 在Somme = 1的行中输入公式,然后向下复制到6。请注意, Row(F1)是一个计数器。 You have a similar counter (1 to 6) in F124:F130. 您在F124:F130中有一个类似的计数器(1到6)。 Therefore you can replace ROW(F1) with $F124 (if that is where the "1" is) to make it easier to understand, perhaps. 因此,可以用$F124替换ROW(F1) (如果那是“ 1”所在的位置),以使其更容易理解。

The formula retrieves the value of the 1st, 2nd, 3rd etc non-blank cell in the range F4:F117. 该公式检索范围为F4:F117的第一,第二,第三等非空白单元格的值。 If those cells contain a formula they will be considered "blank" if their result equals "". 如果这些单元格包含公式,则其结果等于“”时,它们将被视为“空白”。

BTW, if you don't always have 113 results to evaluate you might consider giving a name to the range E4:E117. 顺便说一句,如果您不总是有113个要评估的结果,则可以考虑给范围E4:E117命名。 For example, if you name that range as "Results" then =SUM(Results) would be the same as =SUM($E$4:$E$117), but as you insert or delete rows within the named range the formula doesn't need to be amended. 例如,如果您将该范围命名为“结果”,则= SUM(Results)将与= SUM($ E $ 4:$ E $ 117)相同,但是当您在命名范围内插入或删除行时,公式不会不需要修改。 Use of a named range would simplify understanding your existing formula. 使用命名范围将简化对现有公式的理解。 You could do the same with column F. 您可以对F列执行相同的操作。

Finally I find a solution to report the values from F to another table. 最后,我找到了一种解决方案,可以将F的值报告给另一个表。 As values positions are dependant of the MAX raw in E (every 10 cells) I make this formula : 由于值的位置取决于E每10个单元格中MAX因此我得出以下公式:

For the first : INDEX(E4:F117;EQUIV(GRANDE.VALEUR($E$4:$E$117;1);$E$4:$E$117;0)+10;2) 首先: INDEX(E4:F117;EQUIV(GRANDE.VALEUR($E$4:$E$117;1);$E$4:$E$117;0)+10;2)

For the second : INDEX(E4:F117;EQUIV(GRANDE.VALEUR($E$4:$E$117;1);$E$4:$E$117;0)+20;2) 第二个: INDEX(E4:F117;EQUIV(GRANDE.VALEUR($E$4:$E$117;1);$E$4:$E$117;0)+20;2)

Etc... 等等...

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

相关问题 Excel - 如何使用单元格的值作为另一个单元格的行值? - Excel - How to use the value of a cell as the row value of another cell? Excel Vba,如何用另一个单元格更改单元格值? - Excel Vba, How to change cell value with another cell? Excel如何通过另一个单元格获取一个单元格的值? - Excel How do you get the value of a cell via another cell? 如何在Excel中将一个单元格的值作为另一个单元格的位置 - How to make the value of one Cell as a position of another Cell in Excel 如何使一个单元格等于另一个单元格中的表达式的值(Excel 2010)? - How to make a cell equal to the value of an expression in another cell (Excel 2010)? 如何在excel中插入另一个单元格的值而不是公式 - How to insert the value of another cell in excel not the formula 如何有条件地用另一个工作表中另一个单元格值的另一个单元格信息替换excel中的单元格信息 - How to replace cell info in excel conditionaly with another cell info from another sheet regarding to another cell value 根据Excel中的另一个单元格计算单元格的值 - Calculate the value of a cell based on another cell in Excel 根据 Excel 中的另一个单元格值验证单元格 - Validate cell based on another cell value in Excel 从 Excel 中的另一个单元格控制单元格值 - Control cell value from another cell in Excel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM