View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
PapaDos PapaDos is offline
external usenet poster
 
Posts: 208
Default How to Use Relative Reference in Array Formula

To avoid having to "array enter" the formula, replace SUM by SUMPRODUCT

--
Regards,
Luc.

"Festina Lente"


" wrote:

Hello, Experts,

I wanted to make array formula in multiple cells with relative
references, such as:

In cell C1: {=SUM(LEN(A1:A5))}
In cell C2: {=SUM(LEN(A2:A6))}
In cell C3: {=SUM(LEN(A3:A7))}
In cell C4: {=SUM(LEN(A4:A8))}
In cell C5: {=SUM(LEN(A5:A9))}
....
....
....

but when I highlited range C1:C5 and enter the array by presss
Control/Shift/Enter, the array formula in these cells became
{=SUM(LEN(A1:A5))}. Is there some way to force the array formula to
adopt relative reference?

thanks.