I have Excel 365 and it is upgraded to current so i believe i have dynamic arrays.
Two questions about arrays and dynamic arrays.
(1)
This formula only works if entered with Ctl-Shift-Enter, the old way.
=SUM(IF(goal!CN1551:CN1685=goal!CO1551:CO1685,1,0))
If i enter it without Ctl-Shift-Enter it gives #VALUE, but if entered with Ctl-Shift-Enter it gives the correct answer.
Shouldn't it simply work as a dynamic array without Ctl-Shift-Enter?
(2)
A slight modification. This formula also works [only] with Ctl-Shift-Enter and gives the correct answer.
=SUM(IF(OFFSET(goal!$A$1,1550,91,1685-1551+1,1)=goal!CO1551:CO1685,1,0))
But, if i change the column number (91) argument to COLUMN($CN$1)-1 [which evaluates to 91], it now gives #VALUE in all cases, whether entered with Ctl-Shift-Enter or not.
=SUM(IF(OFFSET(goal!$A$1,1550,COLUMN(goal!$CN$1)-1,1685-1551+1,1)=goal!CO1551:CO1685,1,0))}
Gives #VALUE. Why can one not put the expression COLUMN($CN$1) in the formula as an argument? Is there a workaround?
Thank you!
Two questions about arrays and dynamic arrays.
(1)
This formula only works if entered with Ctl-Shift-Enter, the old way.
=SUM(IF(goal!CN1551:CN1685=goal!CO1551:CO1685,1,0))
If i enter it without Ctl-Shift-Enter it gives #VALUE, but if entered with Ctl-Shift-Enter it gives the correct answer.
Shouldn't it simply work as a dynamic array without Ctl-Shift-Enter?
(2)
A slight modification. This formula also works [only] with Ctl-Shift-Enter and gives the correct answer.
=SUM(IF(OFFSET(goal!$A$1,1550,91,1685-1551+1,1)=goal!CO1551:CO1685,1,0))
But, if i change the column number (91) argument to COLUMN($CN$1)-1 [which evaluates to 91], it now gives #VALUE in all cases, whether entered with Ctl-Shift-Enter or not.
=SUM(IF(OFFSET(goal!$A$1,1550,COLUMN(goal!$CN$1)-1,1685-1551+1,1)=goal!CO1551:CO1685,1,0))}
Gives #VALUE. Why can one not put the expression COLUMN($CN$1) in the formula as an argument? Is there a workaround?
Thank you!