Finding Min Value in a Range and returning the Header

Corkster

New Member
Joined
Nov 10, 2009
Messages
21
Office Version
  1. 365
Platform
  1. Windows
I know that this is an easy formula using index but i can't quite get the syntax. I am looking to return the header after finding the smallest value in a range. I am using =index(c3:e3,match(min(c4:e25),c4:e25,0)) and getting NA.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
If there will definitely only be one cell in C4:E25 that is the minimum value in that range then try
Excel Formula:
=CONCAT(IF(C4:E25=MIN(C4:E25),C3:E3,""))

If multiple cells could hold equal minimum values then try
Excel Formula:
=TEXTJOIN(", ",1,UNIQUE(IF(C4:E25=MIN(C4:E25),C3:E3,"")))
 
Upvote 1
Solution
If there will definitely only be one cell in C4:E25 that is the minimum value in that range then try
Excel Formula:
=CONCAT(IF(C4:E25=MIN(C4:E25),C3:E3,""))

If multiple cells could hold equal minimum values then try
Excel Formula:
=TEXTJOIN(", ",1,UNIQUE(IF(C4:E25=MIN(C4:E25),C3:E3,"")))
Thanks Peter. Very helpful.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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