Positioning to the last non-empty cell operation skill of excel, you must know! (two)

When operating on an Excel data table, sometimes it is necessary to quickly locate the last non-empty cell in a certain column. What we are discussing here is a continuous data area. In the previous article, we introduced the use of [Ctrl]+, OFFSET+COUNTA function combination, INDEX+COUNTA function combination to quickly locate the last non-empty cell, and I will introduce you today Another function to achieve.

For example: as shown in the figure below, in the following, we store two columns of data, column A is the number of the operator, column B is the work date;

Now, let's analyze the problem. Each operator records in chronological order. At the same time, the operation number of each operator is duplicated. The problem is that each operator may repeat operations. How can we quickly indicate the last operation time of each operator?
Insert picture description here

In cell E2, use the formula:

=LOOKUP(1,0/($A:$A=D2),$B:$B)

You can get the result, and you can use the filling tool to pull down, as follows:

Insert picture description here

Formula description:

LOOKUP(1,0/($A:$A=D2),$B:$B),翻译为中文,应该为:

LOOKUP (1,0/(data search range = condition), the data range that needs to be returned after the condition is met)

Through the above method, we can find the last value of the same value in excel. The operation is more complicated, so please check the tutorial carefully.

Have you learnt that?

Thank you for watching. See you in the next issue. If you have any questions, please leave a message in the comment area or send a private message to us

If you are interested in the excel function formulas, you can follow us. Before the course is updated, you can take a look at our previous courses.

Want to learn more function knowledge, welcome to pay attention to forwarding

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43152686/article/details/111307893