[英]Find the last occurrence of a value in a row excel
I have a row with a date, and pass or fail values.我有一行带有日期,通过或失败值。
Refer to the following:请参阅以下内容:
I want to have a cell at the end that will identify the last occurrence of F and provide the date from the cell next to it in just that row.我想在最后有一个单元格,用于标识 F 的最后一次出现,并在该行中提供来自它旁边单元格的日期。
Confirm the following formula with CTRL-SHIFT-ENTER...使用 CTRL-SHIFT-ENTER 确认以下公式...
=LOOKUP(2,1/(B1:Z1="F"),A1:Y1)
Adjust the two ranges to suit your circumstance.调整这两个范围以适合您的情况。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.