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

General Discussions

Discuss any topics that are not product-specific here.

trying to write a formula with a date range

Jazyk
6 - Meteoroid

Hello I have two sets of dates (Sale Date and Redemptions Date) .  I am trying to write a formula that shows if Redemption date is more than 6 months of sale date than it outputs "over 6 months" or if over 1 year then out puts "over 1 year"... ie

 

Sale Date  Redemption Date    Output

6/30/2022     1/30/2023            Over 6 Months

6/30/2022      8/15/2023            Over 1 year

6/30/2022      10/30/2022           Under 6 months    

2 REPLIES 2
caltang
17 - Castor
17 - Castor

@Jazyk like so:

 

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

@Jazyk did the above solve your need? Kindly mark as accepted solution to close the thread. Thanks!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors