Hi All
I am currently working with a sample formula as shown below.
=SUM(IF(MOD(COLUMN($A$1:$O$1),2)=0,$A$1:$O$1,0))
If I set up numeric data in row 1 (i.e. different numbers in each column of row 1 from column A up to and including column O), the formula works fine in that it returns the sum of every second item on the row.
Here is the problem - I am trying to use this formula in a spreadsheet where i will have to add columns to the left of column A. (For things like desc or dept etc. The moment I add an odd number of columns, the formulas get skewed by the number of columns I insert before column A. (the function seems to be anchored on counting from column A). Is there a way to make this formula work where you want it to work? In my case. I want it to work at whatever column the numbers start on and then to end on column XFD. Thanks..
Bookmarks