简体   繁体   English

来自文本值单元格的公式

[英]Formula from text value cell

In an Excel spreadsheet I count the blank rows between two rows with values. 在Excel电子表格中,我用值计算两行之间的空白行。 I use the MATCH formula. 我使用MATCH公式。 Now I need to get the largest number into the st column. 现在,我需要在st列中输入最大的数字。

![电子表格的一部分

I have a solution to get the row numbers (of the rows with cells) and create array as text (eg =MAX(W"&N2&":W"&O2&") . 我有一个解决方案来获取(具有单元格的行的)行号并将数组创建为文本(例如=MAX(W"&N2&":W"&O2&")

I cannot get the value from cell AK to be a real formula. 我无法从AK单元格中获得一个真正的公式的值。 I do not want to go for VBA, this would make things too complicated. 我不想去VBA,这会使事情变得太复杂。

Any ideas how to do this? 任何想法如何做到这一点?

使用INDEX():

=MAX(INDEX(W:W,N2):INDEX(W:W,O2))

在Row2中完全不同的解释(基于屏幕截图),并向下复制以适合:

=IF(J2<>"",MAX(OFFSET(K2,,,L2)),"")

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM