Sample Data
Column A has some positive and negative numbers. Column B has positive divisors for MOD function.
| Cell | Value |
|---|---|
| A1 | -15 |
| A2 | 7 |
| A3 | -3 |
| B1 | 4 |
| B2 | 5 |
| B3 | 2 |
Column A has some positive and negative numbers. Column B has positive divisors for MOD function.
| Cell | Value |
|---|---|
| A1 | -15 |
| A2 | 7 |
| A3 | -3 |
| B1 | 4 |
| B2 | 5 |
| B3 | 2 |
=ABS(A1) + MOD(A2, B2) + ABS(A3) + MOD(A3, B3)A B 1 -15 4 2 7 5 3 -3 2 Formula uses A1, A2, A3, B2, B3 cells.
A B C 1 -15 4 21 2 7 5 3 -3 2 Cell C1 shows the formula result 21.