If you have a column of data (let's say A1 to A5) and you create a formula in B1 linking to A1 (let's say B1=A1 *2 or what ever you want) you can simply double click in the lower right corner and it will Automatically fill Cells B2 through B5. It knows to automatically fill until there is a null cell in Column A.
Does anyone have a macro (or can help define a macro) that would do the same thing for a horizontal application?
For instance I have values in C1 to C120. I would like to be able to place a formula in Cell B1 linking to C1 (let's say B1 = C1 * 2). I would then have Cell B1 active and then run the macro which would automatically fill in Cells B2 to B120 (i.e. B2 = C2 *2, B3 = C3*2, etc.. ). The macro would know when there is a null cell in row C and it doesn't need to copy further.
Thanks a ton for your help!!!
Does anyone have a macro (or can help define a macro) that would do the same thing for a horizontal application?
For instance I have values in C1 to C120. I would like to be able to place a formula in Cell B1 linking to C1 (let's say B1 = C1 * 2). I would then have Cell B1 active and then run the macro which would automatically fill in Cells B2 to B120 (i.e. B2 = C2 *2, B3 = C3*2, etc.. ). The macro would know when there is a null cell in row C and it doesn't need to copy further.
Thanks a ton for your help!!!