So what is wrong with the formula in your excel sheet? It seems to work fine..