K
Keith R
Ok, I've used lots of array ranges (named or not) to come up with a single
value, like the sum of calculations across the indicated range.
For the first time, I want to produce an actual /series/ of values from one
named array range. I have an internal customer who has a workbook that I
can't mess with (to much other junk, adding columns to calculate this would
mess other stuff up), but we need a new calculated series to add to a graph,
and I think an array range should be able to do it.
Example of the data: Customer's workbook has A, B, C: I need to calculate D
in a named range and add it to a graph.
A B C D
Actual Budget Variance Cumulative
121 100 21 21
98 100 (2) 19
111 100 11 30
108 110 (2) 28
115 110 5 33
(etc)
the problem is the workbook has Actual, Budget, and variance, but no
cumulative variance- and now I need to help add that to a graph, so I need
to have an array that calculates all the numbers in D without summing them-
{=SUM(Sheet1!C$2:C15)} doesn't work because it sums the entire range,
whereas I want it to return each value in the array.
I figured I needed a range outside the sum, to produce a range, so I tried
{=IF(Sheet1!C2:C15>0,SUM(Sheet1!C$2:C15),"")} but when I put the name in a
range of worksheet cells, they all give me the big summed number, rather
than each cumulative number (and graph represents the same). When I edit it
to just a single range, it gives me the proper values in a range in the
worksheet, but (based on this named range) it only returns one point on a
graph, because it represents a single point range:
{=IF(Sheet1!C2:C2>0,SUM(Sheet1!C$2:C2),"")}
I've messed with this a while, but something just isn't clicking in my
brain- it is probably simple, but it just isn't coming to me. Any help
appreciated!
value, like the sum of calculations across the indicated range.
For the first time, I want to produce an actual /series/ of values from one
named array range. I have an internal customer who has a workbook that I
can't mess with (to much other junk, adding columns to calculate this would
mess other stuff up), but we need a new calculated series to add to a graph,
and I think an array range should be able to do it.
Example of the data: Customer's workbook has A, B, C: I need to calculate D
in a named range and add it to a graph.
A B C D
Actual Budget Variance Cumulative
121 100 21 21
98 100 (2) 19
111 100 11 30
108 110 (2) 28
115 110 5 33
(etc)
the problem is the workbook has Actual, Budget, and variance, but no
cumulative variance- and now I need to help add that to a graph, so I need
to have an array that calculates all the numbers in D without summing them-
{=SUM(Sheet1!C$2:C15)} doesn't work because it sums the entire range,
whereas I want it to return each value in the array.
I figured I needed a range outside the sum, to produce a range, so I tried
{=IF(Sheet1!C2:C15>0,SUM(Sheet1!C$2:C15),"")} but when I put the name in a
range of worksheet cells, they all give me the big summed number, rather
than each cumulative number (and graph represents the same). When I edit it
to just a single range, it gives me the proper values in a range in the
worksheet, but (based on this named range) it only returns one point on a
graph, because it represents a single point range:
{=IF(Sheet1!C2:C2>0,SUM(Sheet1!C$2:C2),"")}
I've messed with this a while, but something just isn't clicking in my
brain- it is probably simple, but it just isn't coming to me. Any help
appreciated!