Danilo Montoni
New Member
- Joined
- Aug 12, 2014
- Messages
- 4
Im new to VBA so i would very much appreciate any help. I want to autofill a formula until a value change on an adjacent column. example:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">___A_____B_________
1 CAR =formula
2 CAR
3 CAR
4 GLO
5 GLO
6 GLO
</code>
In the example above: Autofill the formula from b1 to b3 (when the value on column A changes from CAR to GLO). PS: The number of rows with the imput CAR and GLO varies from month to month. Thanks!!!
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">___A_____B_________
1 CAR =formula
2 CAR
3 CAR
4 GLO
5 GLO
6 GLO
</code>
In the example above: Autofill the formula from b1 to b3 (when the value on column A changes from CAR to GLO). PS: The number of rows with the imput CAR and GLO varies from month to month. Thanks!!!
Last edited: