using a formula in a program
I'm trying to write a program which will use the formula
("=SUMIF(AA8:AA208,3,C8:C208)" in a loop, except that I'd like to change the
integer "3" in the formula to a variable so that I can increase this value
each time through the loop.
The program works as long as I leave the value an integer "3". "4", etc. But
I can't make it work with a variable.
Can someone give me a boost that might help me with this problem?
Thanks
|