Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Formula for Greater than and less than in 1 statement

CherylH
8 - Asteroid

Can someone help?

 

Here is my formula in Excel   if [Volume Cases]>-.99 and <.99 then "0" else [Volume Cases] endif

 

Alteryx does not like it.  

 

How do I write in Alteryx?

 

Thanks in Advance

4 REPLIES 4
ShankerV
17 - Castor

Hi @CherylH 

 

One way of doing this.

 

ShankerV_0-1682691848092.png

 

if [Volume Cases]>-.99 or [Volume Cases] <.99
then "0"
else [Volume Cases]
endif

 

ShankerV_1-1682691859138.png

 

Many thanks

Shanker V

MilindG
12 - Quasar

if [VOLUME CASES] > -.99 and [VOLUME CASES] < .99 then 0 else [VOLUME CASES] endif

Christina_H
14 - Magnetar

IF ABS([VOLUME CASES])<.99 THEN 0 ELSE [VOLUME CASES] ENDIF

CherylH
8 - Asteroid

Thanks this worked beautifully!  Appreciate the quick resolution. 

Labels