Hi,
I would like to sum the data in mulitple columns -in this case b4 through aj4.
However, I would like to use a formula that sums the data based on an input value, where the value input equals the final column used in the sum.
Example: if I input a 2 into cell AN6, I would like a formula in AN7 that sums column b4 through c4. If I put a 3 into cell AN6, AN7 returns the sum of the value in columns b4 through d4.
I am using excel 2010.
There are multiple rows (200) that I will perform this function on, so I would rather not define a range for each row.
Thanks in advance for assistance
I would like to sum the data in mulitple columns -in this case b4 through aj4.
However, I would like to use a formula that sums the data based on an input value, where the value input equals the final column used in the sum.
Example: if I input a 2 into cell AN6, I would like a formula in AN7 that sums column b4 through c4. If I put a 3 into cell AN6, AN7 returns the sum of the value in columns b4 through d4.
I am using excel 2010.
There are multiple rows (200) that I will perform this function on, so I would rather not define a range for each row.
Thanks in advance for assistance