stefangeorgi
New Member
- Joined
- Mar 16, 2023
- Messages
- 1
- Office Version
- 2013
- Platform
- Windows
Hi everyone,
I have the following problem. I have 3 identicals columns which repeats (image 1)
I would like to tell excel to calculate the values in the green column for every green column after that. But the problem here is that the starting point change so the number of the column too.
I have this formula that works
SUMPRODUCT(--(MOD(COLUMN(AD8:LM8)-COLUMN(AD8)+1;9)=0);--(AD8:LM8>0);-(ISFORMULA(AD8:LM8));AD8:LM8)
considering positive or negative values
and tried this on in order to resolve the issues I have but it doesn't work :
SUMPRODUCT(--(MOD(COLUMN(AD8:INDEX(AD8:LM8;COLUMN()-1))-COLUMN(AD8)+1;3)=0)+0;--(AD8:LM8<0);-(ISFORMULA(AD8:LM8));AD8:INDEX(AD8:LM8;COLUMN()-1))
if someone could tell me where I have to put the index function and how?
thank you !
I have the following problem. I have 3 identicals columns which repeats (image 1)
I would like to tell excel to calculate the values in the green column for every green column after that. But the problem here is that the starting point change so the number of the column too.
I have this formula that works
SUMPRODUCT(--(MOD(COLUMN(AD8:LM8)-COLUMN(AD8)+1;9)=0);--(AD8:LM8>0);-(ISFORMULA(AD8:LM8));AD8:LM8)
considering positive or negative values
and tried this on in order to resolve the issues I have but it doesn't work :
SUMPRODUCT(--(MOD(COLUMN(AD8:INDEX(AD8:LM8;COLUMN()-1))-COLUMN(AD8)+1;3)=0)+0;--(AD8:LM8<0);-(ISFORMULA(AD8:LM8));AD8:INDEX(AD8:LM8;COLUMN()-1))
if someone could tell me where I have to put the index function and how?
thank you !