The problem I am having is that my two formulas are finding the same result

Formula 1

=INDEX($D5:$D11,MATCH(SMALL($G5:$G11,1),$G5:$G11,0))

Formula 2

=INDEX($D5:$D11,MATCH(SMALL($G5:$G11,2),$G5:$G11,0))

D5:D11 (staff names)

G5:G11 (number of files)

I am trying to find the staff member with the lowest and then next lowest number of files.

If there are multiple staff with zero files would that make both formulas give the same result?

It's like I need the 2nd formula to calculate the smallest value not equal to Formula 1.

Thank you