hi - welcome to the board.
In general, posts of the form:
"I've got a non-excel maths problem - starting from scratch can you give me the excel solution?"
...generate the concern that we're being asked to do homework, which isn't really what he board is for. To dispell that thought, care to give some info on what you've tried so far etc...