In Microsoft Excel we can add mass function. So we can do something IDs equal mass. We can go into the first variable there, we can press enter and then this is the maximum where values in the first column was variable.