Formula to return vendor name of lowest value

hturner0110

New Member
Joined
Sep 4, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

I've drawn up a table to work out where to do the grocery shopping, with Column A containing the item, then columns B-I having the pricings. So cell B1 is Sainsbury, and then cell B2 is the price of apples at Sainsbury, while cell C1 is Tesco and cell C2 the price of apples in Tesco.

In column J I would to have the name of the store with the lowest price. I need a formula that determines which column has the lowest price, and then gives me the name stated in the top cell. How do I do this?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi & welcome to MrExcel.
How about
Excel Formula:
=XLOOKUP(MIN(B2:J2),B2:J2,B1:J1)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,221,443
Messages
6,159,907
Members
451,601
Latest member
terrynelson55

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