I know there must be an easy answer to this, but I can't think of it!
I have a column of cells containing integer numbers. I want to consider each number as if it were an exponent of 2, so I want the sum of all the cells in the column like sum(2^(A1:A22)).
For example: I have the numbers 1, 1, 2, 3 arranged in a column. I want a formula to calculate the sum of 2^1 + 2^1 + 2^2 + 2^3.
I suppose I could add another column with an intermediate calculation and just sum that up, but I was hoping there was an elegant solution.
I have a column of cells containing integer numbers. I want to consider each number as if it were an exponent of 2, so I want the sum of all the cells in the column like sum(2^(A1:A22)).
For example: I have the numbers 1, 1, 2, 3 arranged in a column. I want a formula to calculate the sum of 2^1 + 2^1 + 2^2 + 2^3.
I suppose I could add another column with an intermediate calculation and just sum that up, but I was hoping there was an elegant solution.