SimonVOwen
New Member
- Joined
- Nov 15, 2017
- Messages
- 26
Hello All,
I regularly have to deal with Half Hour data spanning a year. So a table 48 by 365.
In this data I need to sum certain dates / times as they have different rates.
Ideally I would want a solution where SUMIF would work across the multiple columns but I am unsure if this can be done or how to proceed.
=SUMIFS(B18:K29,A18:A29,">="&5,B17:K17,">="&5,B17:K17."<="&7)
As a base example of the code I would be trying to run would be like this which returns #value as it cannot cope with B18:K29.
Below is an example of how the data would look and the red section I am trying to sum.
I need to do this for roughly 6/7 areas in the large data setts and they all vary in size.
Any help would be much appreciated.
Regards,
Simon Owen
<tbody>
</tbody><colgroup><col><col span="10"><col></colgroup>
I regularly have to deal with Half Hour data spanning a year. So a table 48 by 365.
In this data I need to sum certain dates / times as they have different rates.
Ideally I would want a solution where SUMIF would work across the multiple columns but I am unsure if this can be done or how to proceed.
=SUMIFS(B18:K29,A18:A29,">="&5,B17:K17,">="&5,B17:K17."<="&7)
As a base example of the code I would be trying to run would be like this which returns #value as it cannot cope with B18:K29.
Below is an example of how the data would look and the red section I am trying to sum.
I need to do this for roughly 6/7 areas in the large data setts and they all vary in size.
Any help would be much appreciated.
Regards,
Simon Owen
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Half hour Segments | |
1 | 0.0387 | 0.0375 | 0.0342 | 0.033 | 0.0317 | 0.0322 | 0.0307 | 0.0303 | 0.0313 | 0.0316 | |
2 | 0.038 | 0.0366 | 0.0312 | 0.0311 | 0.0348 | 0.0306 | 0.0357 | 0.0326 | 0.0307 | 0.0355 | |
3 | 0.0403 | 0.0373 | 0.0342 | 0.0337 | 0.0328 | 0.0314 | 0.0313 | 0.0317 | 0.0315 | 0.0321 | |
4 | 0.0356 | 0.032 | 0.0297 | 0.0292 | 0.0285 | 0.0283 | 0.0277 | 0.0279 | 0.029 | 0.0295 | |
5 | 0.0344 | 0.0315 | 0.0294 | 0.0284 | 0.028 | 0.0275 | 0.0274 | 0.0273 | 0.0285 | 0.0296 | |
6 | 0.0348 | 0.032 | 0.0296 | 0.0284 | 0.0281 | 0.0279 | 0.0271 | 0.027 | 0.0284 | 0.0294 | |
7 | 0.0349 | 0.0314 | 0.0294 | 0.0289 | 0.0286 | 0.0277 | 0.0272 | 0.0275 | 0.0287 | 0.0292 | |
8 | 0.0335 | 0.034 | 0.0302 | 0.0282 | 0.0298 | 0.0283 | 0.0277 | 0.0296 | 0.0281 | 0.0312 | |
9 | 0.0355 | 0.0314 | 0.03 | 0.0289 | 0.0293 | 0.0283 | 0.0261 | 0.0285 | 0.0275 | 0.0276 | |
10 | 0.0352 | 0.0313 | 0.029 | 0.0284 | 0.0274 | 0.027 | 0.0267 | 0.0272 | 0.0279 | 0.0287 | |
11 | 0.035 | 0.0314 | 0.029 | 0.0285 | 0.0277 | 0.0276 | 0.027 | 0.0274 | 0.0284 | 0.0289 | |
12 | 0.0342 | 0.0313 | 0.029 | 0.028 | 0.0274 | 0.0269 | 0.0269 | 0.0269 | 0.0281 | 0.0292 |
<tbody>
</tbody><colgroup><col><col span="10"><col></colgroup>