I am working with WRDS data, dates in one coluumn, companies in another and returns in another. I want to drop a company if the return in the last month (December 2018 being the last) is missing and if the returns in 25 of the previous 60 months are also missing . Would appreciate if someone could help with the code for doing so. Thank You.