Can someone please help me .
Can this be done with standard functions , macro or detailed VB script.
I have an existing sheet with 213 employee names in Col A and account numbers in Col B.
I need to copy the employee name in Col A and paste it until the name changes.
When the name changes the new name needs to be copied and pasted
until it meets a new name.
I tried to do some pseudo code but my skill are none existant.
A1 B1
Dave Copy cell A1 to variable EmployeeAccount
4869328 drop down to next cell
2659100 If cell is blank copy EmployeeAccount to cell
1715192 If cell is not blank delete variable EmployeeAccount
1690919 Copy cell A1 to variable EmployeeAccount
4244329 drop down to next cell
Alice
3928758
2985102
1955158
Stan
2444878
1893812
Can this be done with standard functions , macro or detailed VB script.
I have an existing sheet with 213 employee names in Col A and account numbers in Col B.
I need to copy the employee name in Col A and paste it until the name changes.
When the name changes the new name needs to be copied and pasted
until it meets a new name.
I tried to do some pseudo code but my skill are none existant.
A1 B1
Dave Copy cell A1 to variable EmployeeAccount
4869328 drop down to next cell
2659100 If cell is blank copy EmployeeAccount to cell
1715192 If cell is not blank delete variable EmployeeAccount
1690919 Copy cell A1 to variable EmployeeAccount
4244329 drop down to next cell
Alice
3928758
2985102
1955158
Stan
2444878
1893812