This can be done through VBA. Please provide the conditions in detail.