旭 旭日阳刚 新手上路 VIP 注册 2011-02-15 消息 3,129 荣誉分数 129 声望点数 0 2011-05-17 #1 如下图所示, 1. Tom行上的“前置”空白单元格个数是2 (the number of blank cells until the first non-blank cell),尽管在F,G列上还有两个空白单元格。 2. John行上的前置空白单元格个数是3,经管在H列上有一个空白格。 我把这些结果列在了第 i 列上。 我的问题是:如何在 i 列上,用公式来计算前置空白单元格的个数? 感谢! 附件 xxxxx.jpg 16 KB · 查看: 215
如下图所示, 1. Tom行上的“前置”空白单元格个数是2 (the number of blank cells until the first non-blank cell),尽管在F,G列上还有两个空白单元格。 2. John行上的前置空白单元格个数是3,经管在H列上有一个空白格。 我把这些结果列在了第 i 列上。 我的问题是:如何在 i 列上,用公式来计算前置空白单元格的个数? 感谢!
B black_head 知名会员 注册 2007-09-06 消息 235 荣誉分数 11 声望点数 178 2011-05-17 #3 Using macro to create your own function. In the fuction, yuo have to use a loop (i= 1 to 7) because you save the result in column I
Using macro to create your own function. In the fuction, yuo have to use a loop (i= 1 to 7) because you save the result in column I
旭 旭日阳刚 新手上路 VIP 注册 2011-02-15 消息 3,129 荣誉分数 129 声望点数 0 2011-05-17 #5 =MATCH(TRUE,INDEX((B2:H2<>0),0),0)-1 这个好像work,感谢history!也谢谢热狗和"滑板"的input。 history 说: =MATCH(TRUE,INDEX((A1:H1<>0),0),0) 点击展开...
=MATCH(TRUE,INDEX((B2:H2<>0),0),0)-1 这个好像work,感谢history!也谢谢热狗和"滑板"的input。 history 说: =MATCH(TRUE,INDEX((A1:H1<>0),0),0) 点击展开...
fmart.ca 资深人士 VIP 注册 2007-11-06 消息 1,462 荣誉分数 63 声望点数 208 2011-05-17 #6 这里是函数总汇,也许有用得着的时候。 http://www.techonthenet.com/excel/formulas/index.php
旭 旭日阳刚 新手上路 VIP 注册 2011-02-15 消息 3,129 荣誉分数 129 声望点数 0 2011-05-17 #7 谢谢。 fmart.ca 说: 这里是函数总汇,也许有用得着的时候。 http://www.techonthenet.com/excel/formulas/index.php 点击展开...
L Longhair 资深人士 注册 2002-04-11 消息 1,646 荣誉分数 509 声望点数 223 2011-05-18 #8 if the values of cells are NOT text, the easy way would be (example): Total numner of column - count(A2:G2) Note counta works for text.
if the values of cells are NOT text, the easy way would be (example): Total numner of column - count(A2:G2) Note counta works for text.