boolok2011
New Member
- Joined
- Mar 31, 2011
- Messages
- 13
I would like to use macro to autofill series in column B and autofill in column C based on the following conditions:
if the row in column A has a value 3 or 4 or 5, then autofill column B in series and determines the value at the end row, then autofill column C with that value in that row. For example:
ColumnA ColumnB ColumnC
-----------------------------------------
1 1(autofill startpt) 6
1 2 6
1 3 6
1 4 6
1 5 6
3 6(autofill endpt) 6
0 1(autofill start pt) 4
1 2 4
2 3 4
3 4(autofill endpt) 4
2 1(autofill start pt) 5
1 2 5
2 3 5
0 4 5
4 5(autofill endpt) 5
thx ahead.
if the row in column A has a value 3 or 4 or 5, then autofill column B in series and determines the value at the end row, then autofill column C with that value in that row. For example:
ColumnA ColumnB ColumnC
-----------------------------------------
1 1(autofill startpt) 6
1 2 6
1 3 6
1 4 6
1 5 6
3 6(autofill endpt) 6
0 1(autofill start pt) 4
1 2 4
2 3 4
3 4(autofill endpt) 4
2 1(autofill start pt) 5
1 2 5
2 3 5
0 4 5
4 5(autofill endpt) 5
thx ahead.
Last edited: