do some statistics with the style of excel