[英]Find minimum numeric value and return cell in different row
I am looking to find the minimum (numeric value only) of a multi-column range that will have numbers and text values in it and then return a cell from the same column in Row 1.我正在寻找一个多列范围的最小值(仅限数字值),其中包含数字和文本值,然后从第 1 行的同一列返回一个单元格。
For example:例如:
A ![]() |
B![]() |
C ![]() |
D![]() |
---|---|---|---|
John![]() |
Dave![]() |
Ryan![]() |
Nate![]() |
2 ![]() |
7 ![]() |
3 ![]() |
4 ![]() |
5 ![]() |
Apple![]() |
1 ![]() |
8 ![]() |
9 ![]() |
10 ![]() |
Orange![]() |
12 ![]() |
Banana![]() |
14 ![]() |
Kiwi![]() |
16 ![]() |
I want to first find the minimum numeric-only value in A2:D5 (which would be 1) and then return the value/cell that corresponds with that column in Row 1 (which would be Ryan).我想首先在 A2:D5 中找到最小的纯数字值(即 1),然后返回与第 1 行中该列对应的值/单元格(即 Ryan)。
I tried the follow formula but it wasn't working properly.我尝试了以下公式,但它无法正常工作。
=INDEX(A1:D1,MIN(IF(ISNUMBER(A2:D5),A2:D5,0)))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.