Reputation: 31
I am using following formula in Google spreadsheets =K69*0,09 I need to show a result only as a positive number. I need to set negative numbers to zero. Max function does not work. How else can I do that ?
Upvotes: 0
Views: 1292
Reputation: 11
Excellent method, if query too big:
ARRAYFORMULA( IF(A:A="some value"; ARRAYFORMULA( LAMBDA( array; if(array<0; 0; array)) (any result from B:B if A:A="some value") ); C) )
Upvotes: 0
Reputation: 822
=max(0;C4*0,09)
works fine here. But when you cannot use MAX, use :
=if(C4<0;0;C4*0,09)
Upvotes: 3