finnstone
asked on
SUM FIRST 12 COLUMNS OF DATA FOR EACH ROW
i have 300 rows
each row has 12-60 columns of data in it, but each row has a different starting column . i need to create a new column, B, and put the sum of the first 12 columns with data into it.
must ignore cells that have just a "0" in it.
for example, row 25, has 0 in columns 12-34. So I need column B to equal the SUM of B35-46
THANKS!
each row has 12-60 columns of data in it, but each row has a different starting column . i need to create a new column, B, and put the sum of the first 12 columns with data into it.
must ignore cells that have just a "0" in it.
for example, row 25, has 0 in columns 12-34. So I need column B to equal the SUM of B35-46
THANKS!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you want to sum the first 12 non zero columns, than formula above is the way to go.
if you want to sum 12 columns, starting from the first non zero value (and regardless of the value of those 12 columns, i.e. could be zero), than the formula is a lot simpler; type in B2:
=SUM(OFFSET(B2,0,INDEX(MAT
(no array formula, replace xx with your last column)