For that you would need to replace the > in the criteria box with either < or =. So you can add up numbers in a column or row less than or equal to a specific value much the same. The two cells with 77 in them amount to 154.
xls file if you need to send it to someone who uses. ods file format (later on, you can save it as an. If necessary, add two extra columns and number each row in each column so that you can undo the sort by sorting on the numbers. In your example file copy the contents of a cell in the right column and use Find and replace to search for it in the left column.