Share via

function for reporting adjacent cell to minimum

Anonymous
2020-02-15T00:56:02+00:00

I thought MINIFS would do this, but apparently not. I have two columns of numbers, for example

A  B

1  5

2  6

3  7

4  8

and I want to display in a cell below the number in column A that corresponds to the minimum value in column B. Which, in this example, would display "1" because the minimum value in B is "5". Is there a function that will do this? What would be the syntax, if so?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ashish Mathur 101.8K Reputation points Volunteer Moderator
2020-02-15T06:37:17+00:00

Hi,

In cell A7, enter this formula

=INDEX($A$2:$A$5,MATCH(MIN($B$2:$B$5),$B$2:$B$5,0),1)

Data is in range A2:B5

Hope this helps.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2020-02-15T01:58:25+00:00

No. Only one cell is required. These are two alternative formulas. You can use either of the formulas. I just gave two different formulas. Sorry for not making it clear.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2020-02-15T01:15:08+00:00

Hello doggod42

I am V. Arya, Independent Advisor, to work with you on this issue. Use below formula

=INDEX($A$1:$A$4,MATCH(MIN($B$1:$B$4),$B$1:$B$4,0))

=AGGREGATE(15,6,$A$1:$A$4/($B$1:$B$4=MIN($B$1:$B$4)),1)

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-02-15T02:09:12+00:00

    Oh, thank you a lot then!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-02-15T01:56:54+00:00

    So it requires two cells then? One for the =index function and one for the =aggregate? Where does the answer appear?

    Was this answer helpful?

    0 comments No comments