A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
There is nothing wrong with your formula. As for the red dotted line around the cell, I'm haven't seen that before. As for the cell displaying the formula - that suggests the cell with the formula is formatted as text. In that case you should reformat the cell to something like number and then reenter the formula.