I need to establish a matrix of "n"s and I'm hoping to figure out a programmatic way of doing so. The matrix is defined by the following:
z = abs(n1) + abs(n2) + abs(n3) ....
where z is user generated value between 3 and 31 and n# can range from 2 to 100 (again user specified).
For example if z=3 and n3 is the max value the first few entries will be:
-3 0 0
-2 -1 0
-2 0 -1
-2 0 1
-2 1 0
-1 -1 -1
-1 -1 1
etc
Does anyone have any ideas on how to approach this beast? For now it can just be stored starting in sheet1 range a1 with z and n# specified in the program.
Bookmarks