Finding the Largest Number among Those Meeting Specified Criteria

Problem:

Column A contains 5-digit numbers.
We want to find the largest number from the list whose first two digits are "11".

Solution:

Use the MAX, LEFT, and TEXT functions in the following Array formula:
{=MAX((LEFT(A2:A6,2)=TEXT(C2,"@"))*A2:A6)}
Screenshot // Finding the Largest Number among Those Meeting Specified Criteria
Finding the Largest Number among Those Meeting Specified Criteria

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

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.