简体   繁体   English

返回一行的最后一个值 - EXCEL

[英]Return Last Value of a Row - EXCEL

    A     B      C     D     E
1  20     30     40   50   60

Good Morning, I have an Excel Table as shown Above.早上好,我有一张 Excel 表,如上所示。

I want to return in another Cell the last value of this Row that is NOT NULL我想在另一个单元格中返回此行的最后一个值,该值不是 NULL

So, my return would be 60所以,我的回报是 60

if some value is added latter, it would change:如果后面添加一些值,它会改变:

    A     B      C     D     E     F
1  20     30     40   50    60    70

Now it would return 70现在它会返回 70

Tried to do by myself and tried to google it, did not find anything that works...尝试自己做并尝试用谷歌搜索它,但没有找到任何有用的东西......

Could anybody help-me?有人能帮帮我吗?

Use:采用:

=INDEX(1:1,MATCH(1E+99,1:1))

Or要么

=LOOKUP(2,1/(1:1<>""),1:1)

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

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