Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here we go again.
The bottom Row had the right results but the SumCol did not. I modified the last For Next as follows : For k = 2 To TopCol SumArray(i, k) = SumArray(i, k) + SourceArray(j, k) 'row sum SumArray(4, k) = SumArray(4, k) + SourceArray(j, k) 'Column sum SumArray(i, SumCol) = SumArray(i, SumCol) + SourceArray(j, k) 'Total Row Sum SumArray(4, SumCol) = SumArray(4, SumCol) + SourceArray(j, k) 'Grand Total Row Sum Next and now I have the perfect summary, from Range to Array and back. This was a major achievement for me, but I thank you again because you put me back in the right track in the first place. .. The Debug.Print was only for testing purpose. I never saw my expected values in the Immediate Window. Where does Debug.Print send its data ? Have a good day. J.P. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
range array | Excel Programming | |||
Moving data from an array to a range when range consists of areas? | Excel Programming | |||
Redimming an array dynamically assigned from range (how to redim first dimension of a 2-D array? /or/ reverse the original array order) | Excel Programming | |||
copy one array formula to an array range | Excel Programming | |||
Tricky array formula issue - Using array formula on one cell, then autofilling down a range | Excel Programming |