Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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