# How to find Minimum Value between Several Columns and return Corresponding Company Name??

#### kymikee

##### New Member
I have a spreadsheet that contains the following:
I am checking prices between 5 different vendors:
Columns D, G, J, M and P contains the Vendors Part Numbers
Columns E, H, K, N and Q contains the Vendors Prices
Columns F, I, L O and R contain the Vendors initials

I am trying to set up a formula to find the Minimum Price on each Row (I have 31 Rows) and the return the Vendors Initials so I can know which Vendor has the lowest price on each item. Can someone help me to come up with a formula that can do this??

### Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

#### mse330

##### Well-known Member
Hey kymikee,

Assuming your data starts at row 2, you can place the below formula in column S

Code:
``=INDEX(E2:R2,1,MATCH(MIN(Q2,N2,K2,H2,E2),E2:R2,0)+1)``

#### kymikee

##### New Member
Thanks So Much mse330!! That worked GREAT!! Exactly what I needed

#### mse330

##### Well-known Member
Glad to help & thanks for reporting back

Replies
1
Views
154
Replies
5
Views
170
Replies
3
Views
119
Replies
15
Views
215
Replies
6
Views
828

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,151,972
Messages
5,767,401
Members
425,410
Latest member
SmittyT

### 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.

### Which adblocker are you using?

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

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