Function Problems

Find the Highest Bid and Winning Customer for Each SKU in Excel

Adam DavisAdam Davis Nov 12, 2026 869 views

Question details

Find the maximum bid for each SKU and return the customer who submitted that bid, with a clear method for handling tied maximum bids.

Find the Highest Bid and Winning Customer for Each SKU in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A bid table contains SKU, customer, and bid amount columns, and the user needs a winning customer result for every SKU.
Observed behavior
Multiple customers can submit the same highest bid for one SKU, so the result must either return the first match or list every tied customer.
Before you start

Make sure bid amounts are stored as numeric values and that each row has an SKU, customer name, and bid amount. For the formula examples, assume SKU is in column A, Customer is in column B, and Bid is in column C.

Solution 1Recommended

Use MAXIFS and FILTER to return every customer tied for the highest bid

Use this method in Excel 365 when you want a formula-based result that can list all customers sharing the maximum bid for a selected SKU.

MAXIFS calculates the largest bid for an SKU. FILTER then returns each customer whose bid equals that SKU's maximum value, so ties are not lost.

1
Enter the SKU to evaluate

In a results area, enter the SKU you want to check in E2, such as AW1-123.

2
Calculate the highest bid

Select F2 and enter =MAXIFS($C$2:$C$100,$A$2:$A$100,E2). This returns the largest bid in column C for the SKU in E2.

3
Return all tied winning customers

Select G2 and enter =FILTER($B$2:$B$100,($A$2:$A$100=E2)*($C$2:$C$100=F2),"No matching bid"). The formula spills every customer whose bid matches the maximum.

4
Return only the first winning customer if needed

To show a single customer instead, enter =XLOOKUP(1,($A$2:$A$100=E2)*($C$2:$C$100=F2),$B$2:$B$100,"No match") in G2.

Use MAXIFS and FILTER to return every customer tied for the highest bid
Tie handling: FILTER returns every tied winner. XLOOKUP returns the first matching customer based on the order of rows in the source data.
Work with bids in WPS Spreadsheet

Identify the Highest Bid and Winning Customer in WPS Spreadsheet

WPS Spreadsheet can calculate the highest bid for each SKU with MAXIFS and return the matching customer with FILTER or XLOOKUP. Use FILTER when tied bids should display every winning customer, or use XLOOKUP when one first-listed winner is required.

  1. 1. Open the bid worksheet: Open the .xlsx file in WPS Spreadsheet and confirm that the SKU, Customer, and Bid columns are correctly aligned.
  2. 2. Set up a results area: Enter an SKU in a blank result cell, such as E2, and reserve adjacent cells for the maximum bid and customer result.
  3. 3. Calculate the maximum bid: In the highest-bid cell, enter =MAXIFS($C$2:$C$100,$A$2:$A$100,E2).
  4. 4. List tied winning customers: In the customer-result cell, enter =FILTER($B$2:$B$100,($A$2:$A$100=E2)*($C$2:$C$100=F2),"No matching bid").
  5. 5. Choose a single winner when required: Replace the FILTER formula with =XLOOKUP(1,($A$2:$A$100=E2)*($C$2:$C$100=F2),$B$2:$B$100,"No match") to return the first matching customer.
Use MAXIFS to calculate the maximum bid for each SKU.Use FILTER to display all customers tied at the highest bid.Use XLOOKUP to return one winning customer based on source-row order.Open and edit Microsoft Excel .xlsx bid workbooks with compatible spreadsheet formulas.
microsoft office alternative - wps office

Frequently Asked Questions

How do I return the highest bid for each SKU in Excel?

Use MAXIFS with the bid range as the maximum range and the SKU range as the criteria range. For example, =MAXIFS($C$2:$C$100,$A$2:$A$100,E2) returns the highest bid for the SKU entered in E2.

How can I show every customer tied for the highest bid?

Use FILTER with both the SKU and maximum-bid conditions: =FILTER($B$2:$B$100,($A$2:$A$100=E2)*($C$2:$C$100=F2)). This spills all customer names that meet both conditions.

Why does XLOOKUP return only one customer when two bids are equal?

XLOOKUP returns the first matching row by default. If tied customers must all be shown, use FILTER instead, or sort the source data first if the first returned customer must follow a specific priority.

Can Power Query return all customers with the maximum bid for an SKU?

Yes. After grouping rows by SKU, calculate the maximum Bid within each group and filter the nested rows to Bid values equal to that maximum. Expand the filtered rows or combine the customer names to display all tied winners.