Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Converting Excel Weeknum Formula to Alteryx equivalent

niteshsharma677
7 - Meteor

Hi Everyone,

 

I'm trying to convert an excel formula to Alteryx formula.

 

Here Final Date is created using Date1 and Date2 columns using below formula

 

=IF(B2<$E$2,(WEEKNUM(A2+(7*6))*7+"12/20/2021"),(WEEKNUM(A2+(7*6))*7+"12/26/2022"))

 

Here B2 is Date2, $E$2 is '11/21/2022' and A2 is Date 1

 

Date1Date2Final Date
8/3/20228/3/202212-Sep
3/9/20233/9/202317-Apr
6/2/20236/2/202310-Jul

 

 

Can you please help me create Final Date Field in Alteryx ?

I have attached the Excel document for reference.

 

Thanks,

Nitesh

1 REPLY 1
Armon24
Alteryx
Alteryx
Labels