akkinarula
New Member
- Joined
- Sep 2, 2011
- Messages
- 27
Hi all
i m trying to write counif function which count rows of sheet2's one of the column using criteria of sheet3's column2 (which is merged,their column names are 'B' and 'C' and row no is 10)
i've tried following thing but it gives me expected list separator or ) error
and also i have specified merged cell as c2 only(originally it is combination of c2&c3) is it right to specify this way.
ActiveCell.FormulaR1C1 = _
"=COUNTIF('Customer''s Details'!R13C39:R262C39,'RCL Mix'!R" & Trim(Str(i)& "C2)"
i m using dynamic row no using i as variable whose value is put by for loop.
i m using excel 2003
plz help me to solve this problem
i m trying to write counif function which count rows of sheet2's one of the column using criteria of sheet3's column2 (which is merged,their column names are 'B' and 'C' and row no is 10)
i've tried following thing but it gives me expected list separator or ) error
and also i have specified merged cell as c2 only(originally it is combination of c2&c3) is it right to specify this way.
ActiveCell.FormulaR1C1 = _
"=COUNTIF('Customer''s Details'!R13C39:R262C39,'RCL Mix'!R" & Trim(Str(i)& "C2)"
i m using dynamic row no using i as variable whose value is put by for loop.
i m using excel 2003
plz help me to solve this problem