Hello everyone,
I am trying to write a command that uses very much the if clause. Several conditions have to be made in order for the data to be moved therefore I've used multiple clauses. The problem is that when I try to run each line of the code I immediately notice that the code does not walk through all the clauses although it should because the data satisfies the specified conditions.
For a better understanding I will attach my test file and the command I wrote. Before the code in question I use two other short commands that sort the data and copy one column in order for the code to recognize the date format (the output that I receive cannot be recognized by the command). If you know any other methods of dealing with these first two steps I will greatly appreciate any suggestion.
Hope my explanation is clear. Thanks in advance for your advice.
Kind regards
I am trying to write a command that uses very much the if clause. Several conditions have to be made in order for the data to be moved therefore I've used multiple clauses. The problem is that when I try to run each line of the code I immediately notice that the code does not walk through all the clauses although it should because the data satisfies the specified conditions.
For a better understanding I will attach my test file and the command I wrote. Before the code in question I use two other short commands that sort the data and copy one column in order for the code to recognize the date format (the output that I receive cannot be recognized by the command). If you know any other methods of dealing with these first two steps I will greatly appreciate any suggestion.
Hope my explanation is clear. Thanks in advance for your advice.
Kind regards