Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my excel worksheet . Column A hold Products names and column B hold its Prize .

I get minimum prize use formula .
=min(B2:B12)

How can we get Low prize Product name and its Prize.
Posted

1 solution

Assuming that A2:A12 is the range of your product names and B2:B12 is the range of your prizes.

Add this function to A14:
=INDEX(A2:A12;MATCH(MIN(B2:B12);B2:B12;0);1)

and add this function to B14:
=INDEX(B2:B12;MATCH(MIN(B2:B12);B2:B12;0);1)


This should display on line 14 the values of the first line that matches the minimum price.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900