Share via

Min IF not working

Anonymous
2017-02-06T14:36:41+00:00

Hi,

I am trying to retrieve the earliest data from a column with multiple possible matches... I know the formula is alright and know there values that should match, but still getting the #N/A across the board... example below:

ID (a) Name(b) Date(c) ID Expected Result
1 AAAA JonDoe 2011 AAA {=min(if($a$1:$a$3=d1,$c$1:$c$3))}
2 AAAA JonDoe 2010
3 AAAA JonDoe 2013

the only difference in regards to the example here is that are lots of values ~700, and the lookup range in another workbook/sheet, but still I think it should work but it is not... I have done this formula before and works, but now not sure what happened (FYI I just upgraded my office/excel to the 2016 version).

Thanks,

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

Anonymous
2017-02-06T15:04:59+00:00

If one of your 700 values is an error, that will force your formula to return the error. Look in the range used in the comparison (A1:A3 in your example).

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-02-06T15:42:16+00:00

    HI Bernie,

    Would never thought about that... It solved my problem easy! Thanks so much.

    Was this answer helpful?

    0 comments No comments