I have a spreadsheet controlled by another department from which I need to pull sums. The columns stay constant, while the row interval between the Key fields varies as does the number of records in the key fields.
Ex:
Sheet1Key
E19--------K19-----M19
------------K20
------------K21-----M21
----------------------------N22
----------------------------N23
E27--------K27-----M27
------------K28-----M28
------------K29
----------------------------N30
E39--------K39
------------K40-----M40
------------K41-----M41
----------------------------N45
E64 .. ETC
What I was wondering is if there is a way to use the value of 1 cell (say A1) to denote the row value in a formula? I could have the range length set in (B1). If I understand the indirect function this would seem to be it’s inverse.
Basically
Ksum =Sum(Sheet1!K&[A1]:Sheet1!K&([A1]+[B1]))
Hidden sheet sums
Row value-----------Range---Ksum---Msum---Nsum
=Row(Sheet1!E19)----4
=Row(Sheet1!E27)----3
=Row(Sheet1!E39)----6
This hidden sheet needs to have the sums in a table type structure as they are to be imported into SQL tables periodically.
I hope that I've explained this adequetely. At this point I don't know if it's achievable or I'm slipping into an alternate reality. Any input or suggestions of alternate possibilities is appreciated.
Ex:
Sheet1Key
E19--------K19-----M19
------------K20
------------K21-----M21
----------------------------N22
----------------------------N23
E27--------K27-----M27
------------K28-----M28
------------K29
----------------------------N30
E39--------K39
------------K40-----M40
------------K41-----M41
----------------------------N45
E64 .. ETC
What I was wondering is if there is a way to use the value of 1 cell (say A1) to denote the row value in a formula? I could have the range length set in (B1). If I understand the indirect function this would seem to be it’s inverse.
Basically
Ksum =Sum(Sheet1!K&[A1]:Sheet1!K&([A1]+[B1]))
Hidden sheet sums
Row value-----------Range---Ksum---Msum---Nsum
=Row(Sheet1!E19)----4
=Row(Sheet1!E27)----3
=Row(Sheet1!E39)----6
This hidden sheet needs to have the sums in a table type structure as they are to be imported into SQL tables periodically.
I hope that I've explained this adequetely. At this point I don't know if it's achievable or I'm slipping into an alternate reality. Any input or suggestions of alternate possibilities is appreciated.