Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding data in excel column

adarsh2608
8 - Asteroid

Hello All,

 

I have a excel in which have list of data out of which i want alteryx update in column E with status " available DD/MM/YYY" if the name belongs to current month for example Sep-22

6 REPLIES 6
DataNath
17 - Castor
17 - Castor

@adarsh2608 is this what you're after? Wasn't sure what you wanted if this condition isn't met so just went with null() as is fairly standard. This expression makes use of the DateTimeNow() and DateTimeMonth() functions to check whether the months of the date are the same as the current month:

 

Small edit: Realised I'd provided the output in MM/DD/YYYY rather than DD/MM/YYYY - attached flow amended.

 

DataNath_0-1663766995736.png

Luke_C
17 - Castor
17 - Castor

Hi @adarsh2608 

 

@DataNath  beat me to it, but totally agree with his solution:

Luke_C_0-1663766729239.png

 

 

Emmanuel_G
13 - Pulsar

@adarsh2608 

 

Find attached the way of doing this.

 

Let me know if there is any issue and do not hesitate to mark this answer as solution if it helped.

 

Emmanuel_G_0-1663766990206.png

 

adarsh2608
8 - Asteroid

Hello @Emmanuel_G , @Luke_C , @DataNath .

 

I want to write the data in the same input excel . Can you help me on that 

DataNath
17 - Castor
17 - Castor

@adarsh2608 when you come to output the file, use an Output Data tool after a Block Until Done. Pick your file by going 'Write to File or Database' > locate file > confirm sheet > Under option 3 (Output options), set this to 'Overwrite File (Remove)' and it will overwrite the incoming Excel:

 

DataNath_0-1663769448318.png

Emmanuel_G
13 - Pulsar

@adarsh2608 

 

Updated version

 

Emmanuel_G_0-1663770690251.png

 

Labels
Top Solution Authors