行中的第一个非空白单元格作为列的数组 [英] First non blank cell in row as an array for the column

查看:33
本文介绍了行中的第一个非空白单元格作为列的数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一行中的第一个非空白单元格作为整列的数组公式.

这些似乎都不起作用.

=ArrayFormula(QUERY(transpose(V2:Y),"Select Col1 where Col1 is not null limit 1",0))=ArrayFormula(index(V2:Y,MATCH(FALSE,ISBLANK(V2:Y),0)))=ArrayFormula(VLOOKUP("*", V2:Y, 1, FALSE))

First non blank cell in a row as an array formula for the whole column.

None of these seem to work.

=ArrayFormula(QUERY(transpose(V2:Y),"Select Col1 where Col1 is not null limit 1",0))

=ArrayFormula(index(V2:Y,MATCH(FALSE,ISBLANK(V2:Y),0)))

=ArrayFormula(VLOOKUP("*", V2:Y, 1,FALSE))

https://docs.google.com/spreadsheets/d/1S3svXvdC45VqCFu1710_VrEuo4kWo0kKe6CuxbpnqnI/edit?usp=sharing

解决方案

try:

=IFERROR(INDEX(SPLIT(TRIM(TRANSPOSE(QUERY(TRANSPOSE(A2:D),,99^99))), " "),,1))

这篇关于行中的第一个非空白单元格作为列的数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆