Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula 1

Status
Not open for further replies.

mlbbud

Technical User
Mar 20, 2009
24
0
0
US
I column "B" I have a list of 5 colors. In column "C" I have the percentage of colored t-shirts I have in stock. I would like to put in a cell in column "D" which color is the lowest I have in stock.

Thanks
 
Look at the MIN function

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
I did, but that will only gives me the percentage number. I don't know how to correlate that to the color column, so I can display the color.
 
=INDEX(A1:A4,MATCH(MIN(B1:B4),B1:B4,0))

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top