SOLVED
Formula for Greater than and less than in 1 statement
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CherylH
8 - Asteroid
‎04-28-2023
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
Labels:
- Labels:
- Expression
4 REPLIES 4
ShankerV
17 - Castor
‎04-28-2023
07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @CherylH
One way of doing this.
if [Volume Cases]>-.99 or [Volume Cases] <.99
then "0"
else [Volume Cases]
endif
Many thanks
Shanker V
MilindG
12 - Quasar
‎04-28-2023
07:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
if [VOLUME CASES] > -.99 and [VOLUME CASES] < .99 then 0 else [VOLUME CASES] endif
Christina_H
14 - Magnetar
‎04-28-2023
07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
IF ABS([VOLUME CASES])<.99 THEN 0 ELSE [VOLUME CASES] ENDIF
‎04-28-2023
07:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks this worked beautifully! Appreciate the quick resolution.
