Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
sdtfll
Contributor III
Contributor III

how to write the sum+condition chart formula?

there are two columns:

column: group (some cells with value, but some without value and is null)

column: amount (numbers)

 

now want to sum the amount for group which the value is not null,

how to write the chart formula?

I tried like this but failed:

sum({isnull(group)=-1}amount)

Labels (1)
  • Chart

1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Perhaps with Sum(IF()) expression or Set Analysis like this

Sum(IF(Not IsNull(group),amount))

or

Sum({$<group={"=Len(Trim(group))=0"}>} amount)

View solution in original post

3 Replies
BrunPierre
Partner - Master
Partner - Master

Perhaps with Sum(IF()) expression or Set Analysis like this

Sum(IF(Not IsNull(group),amount))

or

Sum({$<group={"=Len(Trim(group))=0"}>} amount)

sdtfll
Contributor III
Contributor III
Author

Thanks so much!

Alagumurugan
Contributor
Contributor

Hi @sdtfll,
Please Structure the formula correctly. It will work.

Thanks,
Murugan