# In Writer, in a table, is it possible to subtract one cell from another cell?

When I use this formula, =<b7>-<b8>, I get the wrong answer. If B7=100 and B8=40, the answer should be 60, but the result I get is -40. Is this possible, and if so, what's the syntax? Thanks!