How To Find Reference Number For Each Value Of T