![]() |
Use value in cell as numeric reference to a row, within a sum func
I would like to be able to use a value in a cell as the numeric reference to
a row in another column, to which to sum values in that column. Eg. If A5 = 7, sum values in cells D3 to D7. If A5 = 13, sum values in cells D3 to D13. |
Use value in cell as numeric reference to a row, within a sum func
Just another option:
=SUM(OFFSET(D3,0,0,A5-2,1)) -- Dana DeLouis "cspr" wrote in message ... I would like to be able to use a value in a cell as the numeric reference to a row in another column, to which to sum values in that column. Eg. If A5 = 7, sum values in cells D3 to D7. If A5 = 13, sum values in cells D3 to D13. |
All times are GMT +1. The time now is 07:40 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com