ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Need help in formula

Mohini79
7 - Meteor

Hi,

 

I need help in below formula

 

IF [SUM_INSURED]>500000 THEN 0.35 ELSEIF [SUM_INSURED]>200000 THEN 0.45 ELSE "" ENDIF

 

I want to apply between function as below.

 

IF [SUM_INSURED] between 500000-100000 THEN 0.35 ELSEIF [SUM_INSURED] between 200000 - 500000 THEN 0.45 ELSE "" ENDIF

 

Please help thanks in advance

2 REPLIES 2
binu_acs
21 - Polaris

@Mohini79 you can update your formula like below

 

IF [SUM_INSURED]>=500000  AND  [SUM_INSURED] <= 1000000  THEN 0.35 
ELSEIF [SUM_INSURED]>=200000 AND [SUM_INSURED]< 500000 THEN 0.45 
ELSE "" 
ENDIF
Yoshiro_Fujimori
16 - Nebula
16 - Nebula

@Mohini79 ,

The condition of "[Field] is between m and n" can be expressed as 

[Field] > m AND [Field] < n

e.g. 

[SUM_INSURED] between 500000-100000 is expressed as

[SUM_INSURED] < 500000 and [SUM_INSURED] > 100000

(add "=" as necessary)

 

The rest of the IF_THEN_ELSE sentence remains the same.

Do I answer to your question?

Labels
Top Solution Authors