Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Sum(IF(and function

Hello

I am trying to write a Sum(If(And function and am getting a little stuck

My function currently reads as:

 

))

My error starts at the first comma

Does anyone know how I can achieve this?

Many Thanks

Helen

2 Replies
manisha_uit
Creator
Creator

Hi,

You can try using Set Analysis something like

=Count({$<Diagnosis={Cellulitis}, [Patient Admitted]={1}>}Your_field)

Thanks

Manisha

MayilVahanan

Hi

Try like this

Sum(IF(Diagnosis='Cellulitis' and  [Patient Admitted?]=1),1,0))

or

=Count({$<Diagnosis={'Cellulitis'}, [Patient Admitted]={1}>}Your_field)


Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.