Skip to main content
Nintex Community Menu Bar

Combine Multiple IF & AND statements

  • January 2, 2020
  • 2 replies
  • 13 views

Forum|alt.badge.img+1

Hi Everyone,

I hope you all have had a good festive season and news years!

 

I am seeking some assistance with the following. I have muliple (9) statements which I wish to combine in to a single statement to determine a single value of "Major", "Moderate" or "Minor".

 

The 9 seperate statements which I need to combine are:

 

If(and(SOCValue=="Large",OSIValue=="Substantial"),"Major","")

If(and(SOCValue=="Large",OSIValue=="Reasonable"),"Major","")

If(and(SOCValue=="Large",OSIValue=="Minimal"),"Moderate","")

 

If(and(SOCValue=="Medium",OSIValue=="Substantial"),"Major","")

If(and(SOCValue=="Medium",OSIValue=="Reasonable"),"Moderate","")

If(and(SOCValue=="Medium",OSIValue=="Minimal"),"Minor","")

 

If(and(SOCValue=="Small",OSIValue=="Substantial"),"Moderate","")

If(and(SOCValue=="Small",OSIValue=="Reasonable"),"Minor","")

If(and(SOCValue=="Small",OSIValue=="Minimal"),"Minor","")

 

Any assistance would be greatly appreciated.

Thanks

2 replies

Forum|alt.badge.img+12
  • Scholar
  • January 2, 2020

@BozoDU .....You just have to replace "False" result of 1st IF statement with 2nd IF statement and so on.


Forum|alt.badge.img+1
  • Author
  • January 10, 2020

Thankyou @kunalpatel, that was exactly as I needed.