superjoe84
New Member
- Joined
- Apr 1, 2011
- Messages
- 7
F2 = {=INDEX(A2:A11,MATCH(LARGE(IF(B2:B11="in",C2:C11),1),C2:C11,0),1)}
F3 = {=INDEX(A2:A11,MATCH(LARGE(IF(B2:B11="in",C2:C11),2),C2:C11,0),1)}
F4 = {=INDEX(A2:A11,MATCH(LARGE(IF(B2:B11="in",C2:C11),3),C2:C11,0),1)}
and so on to find the 5 oldest files in order of oldest first. this works fine if the number of days is different on all, but when there is duplication and the file above is out, MATCH() finds it before the file that is in. eg F6 should read 3 instead of 2. does any of that make sense to anyone other than me? this is just a sampling, my document looks at over a hundred entries so this error occurs a lot. how do i fix it?
Last edited: