You can use phrases such as the last but one, the last but two, or the last but three, to refer to the thing or person that is, for example, one, two, or three before the final person or thing in a group or series.
It's the last but one day in the athletics programme.
The British team finished last but one.