Skip to main content
Question

Compare


Saba
Level 8
Forum|alt.badge.img+3

Hi,

Is there a way to compare the value of the 2 row and return the one that is smaller and then sum all the smaller values together ?

Sample


id 1 = 5

id 2 = 20

id 3 = 7

sum = 5+20+7 = 32