Hi,
I am working with a spreadsheet that has about ten columns. I would like to have a calculation in the 1st of column, addition, subtraction, etc that would be using the data in 2 or more of the other columns. I am looking to change this data so I am looking to have either a formula in each cell in column "A" that I can change the columns that are in the formula.
For example-I was trying to figure out if there was some way that if I put in cell(1,1) a "3" referencing column 3 and in cell(1,2) say a "5"(refencing column 5). Is there anyway to write a formula in the cells in column 1 that would access the cells in the same row and know which columns I would like to use?
I am trying to do this in VBA, as I'm sure there is an easy way to do it, but I haven't gotten it to work yet.
Thanks for your time and I hope you understand the question.
Ken
I am working with a spreadsheet that has about ten columns. I would like to have a calculation in the 1st of column, addition, subtraction, etc that would be using the data in 2 or more of the other columns. I am looking to change this data so I am looking to have either a formula in each cell in column "A" that I can change the columns that are in the formula.
For example-I was trying to figure out if there was some way that if I put in cell(1,1) a "3" referencing column 3 and in cell(1,2) say a "5"(refencing column 5). Is there anyway to write a formula in the cells in column 1 that would access the cells in the same row and know which columns I would like to use?
I am trying to do this in VBA, as I'm sure there is an easy way to do it, but I haven't gotten it to work yet.
Thanks for your time and I hope you understand the question.
Ken