SO community. I have a problem that I apparently can't solve on my own. This is for self educational purpose only regarding school work. So, I have multiple columns, which contain different value types. In example below there are 3 columns:
- column 1 "Date" - date;
- column 2 "ID" - number;
- column 3 "Letter" - text.
What I am trying to do - based on "Date" and "Letter" columns delete a row that is older than, for example, 29.06.2015 and at the same time the date has a letter "A" assigned. So, basically if date is older than 29.06.2015 and that row contains letter "A", it gets deleted, if not - it stays as it is.
Date ID Letter
12.01.2013 1 A
05.02.2014 2 A
29.06.2015 3 A
04.01.2016 4 A
17.12.2014 5 A
12.01.2013 6 B
05.02.2014 7 B
29.06.2015 8 A
04.01.2016 9 F
17.12.2014 10 F
So the final result should look like this:
Date ID Letter
29.06.2015 3 A
04.01.2016 4 A
12.01.2013 6 B
05.02.2014 7 B
29.06.2015 8 A
04.01.2016 9 F
17.12.2014 10 F
I have been searching for a solution to this problem and found articles like this, and this and few others, but they are focused on slightly different things as I can't really wrap my head around to what to do.