Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to find the last occurrence of a specific value in a list in Excel?

Normally, when using the Vlookup function to search for a value, it will return the corresponding result for the first matching. If there are multiple matching items in the list and you want to return the last matching occurrence, how can you do? This tutorial provides two methods for you to easily get it down.

Find the last occurrence of a specific value in a list with formula
Easily find the last occurrence of a specific value in a list with an amazing tool

More tutorials for look up values…


Find the last occurrence of a specific value in a list with formula

As the below screenshot shown, there are multiple “KTW” in column B, but you only want to look for the last one and return the corresponding value in column C in cell F2. Please try the below array formula.

1. Select a blank cell, copy the below formula into it and press the Ctrl + Shift + Enter keys to output the result.

=INDEX($C$2:$C$13,MATCH(2,1/(B2:B13=E2)))

Note: In the formula, $C$2:$C$13 is the column range that contains the value you will return; B2:B13 is the column range you are looking for; E2 contains the criteria you will do the search based on.


Easily find the last occurrence of a specific value in a list with an amazing tool

Here recommend you to use the LOOKUP from Bottom to Top utility of Kutools for Excel. With this handy feature, you can easily find the last occurrence of a certain value in a list with only several clicks.

Before applying Kutools for Excel, please download and install it firstly.

1. Click Kutools > Super LOOKUP > LOOKUP from Bottom to Top to enable the feature. See screenshot:

2. In the LOOKUP from Bottom to Top dialog box, please configure as follows.

  • Select the lookup value cells and the output cells in the Lookup Values and Output Range section;
  • Select the whole data range, the key column you are looking for, and the return column in the Data range section;
  • Click the OK button to get the results immediately. See screenshot:

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related articles

Find earliest and latest dates in a range in Excel
In a column of dates, it's not easy to find out the earliest date and latest date quickly if you can't sort the dates. Actually, there are several tricky ways to find out the earliest and latest dates in Excel easily and conveniently, you can follow the methods in this article to get it down.

Find or get quarter from a given date in Excel
Supposing you have a list of dates in a column, and now you want to find and get the quarters from these dates, how can you quickly handle it in Excel? This article is going to introduce the tricks on deal with this job.

Vlookup to compare two lists in separated worksheets
Supposing you have two worksheets “Name-1” and “Name-2” with a list of names, and now you want to compare these two lists and find the matching names in Names-1 if they exit in Names-2. It is painful to do such a comparison manually one by one between two sheet. This article is provides some quick tricks to help you to finish it without effort.

Vlookup and sum matches in rows or columns in Excel
Using vlookup and sum function helps you quickly find out the specified criteria and sum the corresponding values at the same time. In this article, we are going to show you two methods to vlookup and sum the first or all matched values in rows or columns in Excel.

More tutorials for look up values…


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.