I am brand new to VBA. I want to copy a series of cells from Sheet1 to Sheet2 if the cells on Sheet 2 match a value listed in the first column. For example, I would like to start with SHEET1 and then have the data look like SHEET2 below:
SHEET1
A2=Adam B2=95 C2=92 D2=97 E2=67 F2 blank G2 blank H2 blank
A3=Cindy B3 blank C4 blank D4 blank E4=61 F4=94 G4=95 H4=95
SHEET2
A2=Adam B2=95 C2=92 D2=97 E2=67
A3=Cindy B3=94 C4=95 D4=95 E4=61
In this example, I want to first copy the information from Sheet1 B2:D2 to Sheet2 B2:2. Then I would like to copy the information from Sheet1 F3:H3 and fill in the blanks within Sheet 2 B3:D3. All the information in column E should stay where it is.
Any help would be much appreciated!!
Edit My (Tony Dallimore) attempt to convert the descriptions of Sheet1 and Sheet2 into something more visual:
Sheet1
| A | B | C | D | E | F | G | H |
2 |Adam | 95| 92| 97| 67| | | |
3 |Cindy | | | | | | | |
4 | | | | | 61| 94| 95| 95|
Sheet2
| A | B | C | D | E | F | G | H |
2 |Adam | 95| 92| 97| 67| | | |
3 |Cindy | 94| | | | | | |
4 | | | 95| 95| 61| | | |