Excel Hack 47: Check if a value in a cell is positive or negative

This post features one of the lesser known Excel functions – the =SIGN function.

The =SIGN function can be used to confirm if the value in a cell is positive, negative or zero. It returns a 1 if the value is positive, -1 if the value is negative, or zero if the value is zero.

The applications of this function are varied – for instance, it can be applied as a check in progress dashboards to return a downward triangle if the values are negative, or an upward triangle if the values are positive.

The below image shows the two steps taken to achieve the progress icon view above:

It could also be used as an Excel audit feature, to point out errors or discrepancies in cells that would be expected to show only positive or only negative values to ensure proper functioning of a model.

What other applications could this function come in handy for? Share in the comments section below:

Leave a Reply

Your email address will not be published. Required fields are marked *