Many years since I’ve used Excel on the Mac (daily On Windows for work), but isn’t there a formula and a value property of a cell? I doubt that would have changed in the interim releases since I used it on Mac.
I suspect that you are getting the cell object but would conceivably want one of those properties of the cell instead.
Maybe something like?
set output to value of cell "A2"