I have a master list of data but I need to copy that data to individual sheets based on the column for 'Unit' . I have a macro in place to sort any new data on the sheets into numerical order by room assignment. I am not sure if an if/then statement is what I need or not. If a person is assigned to a cot they will not have a room number. There may be more than one person to a room at times also. If anyone can help me with this it would be greatly appreciated. This is all mushed up in the preview so the headings are: room #, last name, first name, number, cot, unit & count
this is basically what the MASTER LIST looks like
room # last name first name number cot unit count
1 smith john 12345 1 1
0 jones steve 12234 A 3 1
this is basically what the UNIT LIST looks like
Room # Last Name First Name Number Cot Unit Count
0 KEITH JACOB 123456 Cot A 2 1
0 BERGH BRADLEY 123456 Cot T 2 1
1 STEWS JAMES 123456 2 1
1 KENNEY KALYN 123456 2 1
2 HANNA MARK 123456 2 1
2 MCKINLY ROGER 123456 2 1
Bookmarks