Forum Discussion
Yousef70
Jul 19, 2023Brass Contributor
If formula
Dear Sirs …. Kindly need your help with below table to distinguish between + or - numbers in the result cell to take + value cell keep in mind the following If formula used in result cell ( if there...
- Jul 23, 2023
Alternative
= LET( s, BYROW(data, LAMBDA(d, MAX(SUM(d), 0))), VSTACK(s, SUM(s)) )
PeterBartholomew1
Jul 23, 2023Silver Contributor
A nice thing about 365 is that it has very little in common with traditional spreadsheet practice
= LET(
t, BYROW(data,
LAMBDA(d,
LET(
s, SUM(d),
IF(s>0, s, 0)
)
)
),
VSTACK(t, SUM(t))
)
Yousef70
Jul 25, 2023Brass Contributor
Dear Peter …
In the above coding , can you give an alternative to result column positive cell amount even if negative cell amount is higher ?
for example in above table:-
column 1 column 2 result
10 -214 10
20 5 25
-45 60 60
15 -60 15
110
as per I am looking for the "honored" payments ( positive cells ) but still need to acknowledge the "not honored" payments ( negative cells ) but not in the result cell
many thanks in advance