Index function?

M

MIchel Khennafi

Good morning:

I created a table to compare vendor prices...

Columns: = vendor's name
Row = Item number
I would like to find which vendor offer the best price and would like to
enter a formula in a cell that would give me the name of the lowest bidding
vendor for every row.

I have been able to calculate the lowest price using the small formula. How
could determine which vendor has the smallest price?

Thanks
 
T

T. Valko

Try this:

B1:E1 = vendor names
B2:E2 = vendor prices

=INDEX(B$1:E$1,MATCH(MIN(B2:E2),B2:E2,0))

Note: if there are more than 1 vendor with the lowest price the formula will
return the name of the leftmost vendor.

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top