Need help with if function or macro copy cells if cell = y?
I have a workbook with three sheets titled Master (Sheet 1), Deceased (Sheet 2), Veteran (Sheet3). I need a formula that COPIES a row from the Master to either the Deceased or Veteran tab depending on a Y entry in a cell. I want this to work for the whole workbook. So I want the row to be retained on the master, but then move to Deceased if there is a Y entered in column A. I want the row to be copied from the master to Veteran if Y is entered in column AM. If possible I would like to keep all formatting the same when it copies ie: I have conditional formatting set up on certain columns just to populate a color if the value is something I've chosen. I realize I could just sort the master and copy things, but I'd really like if it would just HAPPEN! I'm not an excel wiz so an explaination of how to insert the function would be helpful.
THANK YOU