Struggling with formula

samilynn

Board Regular
Joined
Jun 24, 2003
Messages
166
Office Version
  1. 2016
Platform
  1. Windows
Hi, I am struggling to come up with the formula to show me the name of the lowest vendor for each SKU (as in the last column in the example below)
If there is a way to do this, can you give me some guidance please?

Thanks!
Samantha

SKUVENDOR "A"VENDOR "B"VENDOR "C"WHO IS LOWEST?
A123$1.00$1.25$1.50VENDOR "A"
A555$10.00$9.00$9.50VENDOR "B"
B456$0.15$0.17$0.10VENDOR "C"
B666$6.21$6.18$6.99VENDOR "B"
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Let's say that data is in the range A1:D5.
Then put this formula in cell E2 and copy down:
Excel Formula:
=INDEX(B$1:D$1,MATCH(MIN(B2:D2),B2:D2,0))
 
Upvote 0
Solution
Thank you, Joe, that works great!!!!
One more question, if I may: is it possible to do it if the three price columns are not next to each other? For example, if they are in Columns B, D, and G?
I guess I could move them next to each other if I have to, but I would love to know and learn if there is a formula to do it if they have other columns in between.

Thanks again so much!
Samantha
 
Upvote 0
Thank you, Joe, that works great!!!!
One more question, if I may: is it possible to do it if the three price columns are not next to each other? For example, if they are in Columns B, D, and G?
I guess I could move them next to each other if I have to, but I would love to know and learn if there is a formula to do it if they have other columns in between.

Thanks again so much!
Samantha
Not using that formula. That is going to make things much trickier. I personally do not know how to that without some really long complex formula or using VBA.
If you want to pursue that, I would recommend starting a new thread, as that is a different question.
 
Upvote 0
Thank you, Joe, your first formula will do!

Thanks again,

Samantha
 
Upvote 0

Forum statistics

Threads
1,215,634
Messages
6,125,934
Members
449,275
Latest member
jacob_mcbride

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top