rwmill9716
Active Member
- Joined
- May 20, 2006
- Messages
- 495
- Office Version
- 2013
- Platform
- Windows
I need a macro that will: (1) copies Columns C and E (from row 8 on) to Columns G and H, (2) reads shift limits in Cells F5 and G5, (3), copies data in Columns E and F, (4) writes that data in Columns G and H between the shift limits.
Excel 2012 | ||||||||
---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | |||
4 | Shift Data to Row | End Shift | 56.5 | |||||
5 | 12 | 16 | 55.5 | |||||
6 | Ppk = | #DIV/0! | ||||||
7 | Date/Time | List 1 | Date/Time | List 2 | Date | Composite | ||
8 | 01/01/16 | 1 | 01/05/16 | 100 | 01/01/16 | 1 | ||
9 | 01/02/16 | 2 | 01/06/16 | 101 | 01/02/16 | 2 | ||
10 | 01/02/16 | 3 | 01/07/16 | 102 | 01/02/16 | 3 | ||
11 | 01/04/16 | 4 | 01/08/16 | 103 | 01/04/16 | 4 | ||
12 | 01/05/16 | 5 | 01/09/16 | 104 | 01/05/16 | 100 | ||
13 | 01/06/16 | 6 | 01/06/16 | 101 | ||||
14 | 01/08/16 | 7 | 01/07/16 | 102 | ||||
15 | 01/09/16 | 8 | 01/08/16 | 103 | ||||
16 | 01/10/16 | 9 | 01/09/16 | 104 | ||||
17 | 01/10/16 | 10 | 01/10/16 | 10 | ||||
18 | 01/11/16 | 11 | 01/11/16 | 11 | ||||
19 | 01/12/16 | 12 | 01/12/16 | 12 | ||||
20 | 01/13/16 | 13 | 01/13/16 | 13 | ||||
21 | 01/14/16 | 14 | 01/14/16 | 14 | ||||
22 | 01/15/16 | 15 | 01/15/16 | 15 | ||||
23 | 01/17/16 | 16 | 01/17/16 | 16 | ||||
24 | 01/17/16 | 17 | 01/17/16 | 17 | ||||
25 | 01/18/16 | 18 | 01/18/16 | 18 | ||||
26 | 01/19/16 | 19 | 01/19/16 | 19 | ||||
27 | 01/21/16 | 20 | 01/21/16 | 20 | ||||
28 | 01/21/16 | 21 | 01/21/16 | 21 | ||||
Sheet4 |