You are here: All Help Topics > Other Information > Cell Functions > POS function

POS Function

The POS function returns a value if the value is positive, otherwise it returns zero.

POS(value)

Assume the following:

BANK1 = c1 = 500

BANK2 = c2 = -500

BANK3 = c3 = 1000

Then:

POS(c1) = 500 and POS(-c1) = 0

POS(c2) = 0 and POS(-c2) = 500

POS(c3) = 1000 and POS(-c3) = 0

Therefore:

Bank Balance = POS(c1)+POS(c2)+POS(c3) = 1500

Bank Overdraft = POS(-c1)+POS(-c2)+POS(-c3) = 500

Related Topics