How to Find the Airline Name Associated with the Lowest Fare in Excel
Question details
The user needs to retrieve the corresponding text (such as an airline name) that is associated with the minimum numerical value (such as the lowest fare) in a dataset, even across different ranges or when there are ties.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Searching through a dataset to find the minimum value and extracting the corresponding label or name from another column.
- Observed behavior
- The user requires a formula combination to accurately look up a name based on the lowest value, handling scenarios where data is in different columns or multiple lowest-value ties exist.
Ensure your dataset is organized in a normalized tabular format, with names (e.g., airlines) in one dedicated column and their corresponding numerical values (e.g., fares) in another parallel column.
Use XLOOKUP Combined with the MIN Function
This is the most straightforward and modern method to find the minimum value and return its corresponding name from another column.
The XLOOKUP function searches a range for a specific value and returns an item from another range. By feeding the MIN function into XLOOKUP as the search criteria, you can instantly find the lowest fare and map it back to the airline name.
Select an empty cell and type =MIN(B2:B100) (assuming column B contains your fare data), then press Enter to see the lowest price.
Select another empty cell where you want the airline name to appear.
Type the formula =XLOOKUP(MIN(B2:B100), B2:B100, A2:A100, "Not found"). In this example, B2:B100 is the fare column and A2:A100 is the airline name column. Press Enter.

Use the FILTER Function to Handle Ties
Use this method if multiple airlines might share the exact same lowest fare and you want to extract all of their names.
Use WPS Spreadsheet to Handle Complex Lookups
WPS Spreadsheet fully supports advanced array functions like XLOOKUP, MIN, and FILTER, allowing you to easily find names associated with lowest values just like in Microsoft Excel. It offers a powerful, seamless experience for managing tabular data.
- 1. Open your dataset in WPS Spreadsheet: Launch WPS Office and open your workbook containing the airline and fare data.
- 2. Apply the MIN function: Use =MIN() to identify the lowest value in your numeric data range.
- 3. Extract the names with XLOOKUP or FILTER: Apply =XLOOKUP() or =FILTER() using the exact same syntax as Excel to retrieve the corresponding names effortlessly.

Frequently Asked Questions
What if my version of Excel doesn't support XLOOKUP?
If you are using an older version of Excel that lacks XLOOKUP, you can use the classic INDEX and MATCH combination. The formula would be: =INDEX(A2:A100, MATCH(MIN(B2:B100), B2:B100, 0)).
Why does my XLOOKUP formula return a #VALUE! error?
Ensure that your lookup array (e.g., B2:B100) and return array (e.g., A2:A100) are the exact same size. If they are different lengths, the formula cannot map the rows correctly and will return a #VALUE! error.
Can I use this method to find the highest fare instead?
Yes, you can simply replace the MIN function with the MAX function in your formulas. For example, use =XLOOKUP(MAX(B2:B100), B2:B100, A2:A100) to find the airline with the highest fare.
How does the FILTER function handle multiple results?
The FILTER function creates a dynamic 'spill array.' It will display all matching results starting from the cell where you typed the formula, filling down the column automatically. Make sure there are enough empty cells below the formula to avoid a #SPILL! error.




