I am reposting this question. I am trying to set the same thing up on a different user's PC, but I am not getting it to work. Thanks.
I have two things that I would love to do automatically. I was hoping to do it with a series of macros, but since the number of rows of data changes on a weekly basis, I don't think it will work. Is what I am wishing for even possible? I will upload the before and after files now. Thanks.
1. The data in column B gets modified based on the data in Column A. The 3rd digit in column A gets added to the front of the data in column B.
2. If the data in column A is a 0, it gets replaced based on the cell directly above it.
1xxxxx 100001
2xxxxx 200001
3xxxxx 300001
4xxxxx 400001
xxxxx 02xxxx (0 or blank in the reference cell)
NOTE: Any cell containing 21300 in column B is never changed.
**sample**
BEFORE:
A B C
306500 3100 143.62
306500 3500 1202.26
0 21300 -1345.88
127100 2100 3.5
127100 3100 309.89
127100 3500 145.15
127100 6900 5.47
0 21300 -464.01
AFTER:
A B C
306500 63100 143.62
306500 63500 1202.26
300001 21300 -1345.88
127100 72100 3.5
127100 73100 309.89
127100 73500 145.15
127100 76900 5.47
100001 21300 -464.01
Start Free Trial