Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Using Excel 2007;
The following formula sums every other column in a range. =SUMPRODUCT((MOD(COLUMN(A1:J1),2)=0*A1:J1) How can I modify the formula to refer to a range from column A to 'one column left of the formula'? I've tried the following but the result is #REF! =SUMPRODUCT((MOD(INDIRECT("RC1:RC"&COLUMN()-1),2)=0)*INDIRECT("RC1:RC"&COLUMN()-1)) A named range works well but I'll copy this formula to hundreds of lines in multiple sheets and I'd rather not have to modify the range name for each sheet. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum Indirect Using R1C1 Style | Excel Worksheet Functions | |||
R1C1 reference style | Excel Discussion (Misc queries) | |||
How do I change sheet notation from R1C1 style to A1 style in XL 2 | Setting up and Configuration of Excel | |||
can a1 reference style and r1c1 style be used in same formula? | Excel Worksheet Functions | |||
R1C1 reference style | Excel Discussion (Misc queries) |