A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
For Excel to find a solution, a real solution must exist. Normally, you would convert your formula to an Excel function like
=A1^4+A1^3+A1^2+A1+40
and then use Solver to change A1 to get the cell with the formula to have a value of zero.
But there are no real roots for your equation, so you will need to use a much more sophisticated package, like Wolfram's Mathematica.
HTH,
Bernie