[…] You can use the BIN function to determine which observations are in each rectangular bin. …