To calculate a number column vertically

anyone knows the way to calculate a number column vertically?
It’s able to calculate among different columns by using formula column, but to do that with a same column and different items is impossible as I know.