gateway123
New Member
- Joined
- Jul 18, 2012
- Messages
- 5
I want to fetch the least value for 1 and 2, but I also want to fetch year associate with that minimum value.
1 2000 0.01 1
1 2001 0.00 2
1 2002 0.04
1 2003 0.09
1 2004 0.04
1 2005 0.06
2 2000 2.01
2 2001 3.00
2 2002 7.04
2 2003 1.09
2 2004 2.04
2 2005 0.06
Results should look like
1 2001 0.00
2 2005 0.06
gsistek suggested this function it gives only the minimum value but I also want the year associated with this value
=MIN(IF(A1:A11=D1,C1:C11,9.99E307))
1 2000 0.01 1
1 2001 0.00 2
1 2002 0.04
1 2003 0.09
1 2004 0.04
1 2005 0.06
2 2000 2.01
2 2001 3.00
2 2002 7.04
2 2003 1.09
2 2004 2.04
2 2005 0.06
Results should look like
1 2001 0.00
2 2005 0.06
gsistek suggested this function it gives only the minimum value but I also want the year associated with this value
=MIN(IF(A1:A11=D1,C1:C11,9.99E307))