Lookup Function to Get Last Matching Value in Microsoft Excel
If you are wondering what formula should be used in order to get the last matching value in Excel to return the corresponding cell value, then this article is for you.
In this article, we will learn to use lookup function to get last matching value out of multiple values.
Question): I need a formula to look up the conditional value in a specific column & find the last occurred item & then return the corresponding value.
The data we will consider in this example has some names in column A, couple of them are repeated to have better understanding of this example; the second column has sale quantity.
Following is the snapshot of the sample data:
To test the above formula, we can either change the conditional text or change in source data.
In this way, find the quantity sale by last occurrence of the searched name.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.