Forum Discussion
formula
- May 16, 2023
=SUM(OFFSET(B2,(ROW(1:1)-ROW($1:$1))*6,0,7,1))Does this formula help? It sums the values from row 2 to row 8 and then from row 9 to row 15 and then row 16 to 22 and so on. I think you can easily adapt it to your sheets if it returns the intended result.
Thank you for the information, I put the new formula and for the first 2 lines it worked by then the 3rd line it skipped 2 rows. see below (information followed by picture of formula, and then the error
Thank you for your help with this
| 1/1/2023 | $0.00 | |
| 1/2/2023 | $0.00 | |
| 1/3/2023 | $147.97 | |
| 1/4/2023 | $149.09 | |
| 1/5/2023 | $139.85 | |
| 1/6/2023 | $99.71 | |
| 1/7/2023 | $0.00 | 536.62 |
| 1/8/2023 | $0.00 | |
| 1/9/2023 | $87.71 | |
| 1/10/2023 | $89.91 | |
| 1/11/2023 | $81.35 | |
| 1/12/2023 | $49.46 | |
| 1/13/2023 | $45.05 | |
| 1/14/2023 | $0.00 | 353.48 |
| 1/15/2023 | $0.00 | |
| 1/16/2023 | $0.00 | |
| 1/17/2023 | $77.51 | |
| 1/18/2023 | $69.44 | |
| 1/19/2023 | $39.83 | |
| 1/20/2023 | $36.47 | |
| 1/21/2023 | $0.00 | 223.25 |
| 1/22/2023 | $0.00 | |
| 1/23/2023 | $89.91 | 313.16 |
| 1/24/2023 | $82.83 | |
| 1/25/2023 | $49.50 | |
| 1/26/2023 | $54.89 | |
| 1/27/2023 | $51.51 | |
| 1/28/2023 | $0.00 | 328.64 |
| 1/1/2023 | $0.00 | |
| 1/2/2023 | $0.00 | |
| 1/3/2023 | $147.97 | |
| 1/4/2023 | $149.09 | |
| 1/5/2023 | $139.85 | |
| 1/6/2023 | $99.71 | |
| 1/7/2023 | $0.00 | 536.62 |
| 1/8/2023 | $0.00 | |
| 1/9/2023 | $87.71 | |
| 1/10/2023 | $89.91 | |
| 1/11/2023 | $81.35 | |
| 1/12/2023 | $49.46 | |
| 1/13/2023 | $45.05 | |
| 1/14/2023 | $0.00 | 353.48 |
| 1/15/2023 | $0.00 | |
| 1/16/2023 | $0.00 | |
| 1/17/2023 | $77.51 | |
| 1/18/2023 | $69.44 | |
| 1/19/2023 | $39.83 | |
| 1/20/2023 | $36.47 | |
| 1/21/2023 | $0.00 | 223.25 |
| 1/22/2023 | $0.00 | |
| 1/23/2023 | $89.91 | 313.16 |
| 1/24/2023 | $82.83 | |
| 1/25/2023 | $49.50 | |
| 1/26/2023 | $54.89 | |
| 1/27/2023 | $51.51 | |
| 1/28/2023 | $0.00 | 328.64 |
| instead of taking rows 15-21(date 1/15/23-1/21/23 it took 17-23(date 1/17/23-1/23/23 |
=SUM(OFFSET(B2,(ROW(1:1)-ROW($1:$1))*6,0,7,1))Does this formula help? It sums the values from row 2 to row 8 and then from row 9 to row 15 and then row 16 to 22 and so on. I think you can easily adapt it to your sheets if it returns the intended result.
- radial2021May 17, 2023Copper Contributor
This formula works,
Thank you very much for your help with this, it will save me a lot of time.
- radial2021May 19, 2023Copper Contributor
Good Morning,
I have another formula problem and I do not know why, see below
I do not see any text issues? the answer I should get is $1,869.14(B23)
Thank you
- OliverScheurichMay 19, 2023Gold Contributor
=HLOOKUP(B1,'VCM Summary'!B1:BA23,23,FALSE)=INDEX('VCM Summary'!B23:BA23,MATCH(B1,'VCM Summary'!B1:BA1,0))XLOOKUP only is available in Office 365 and Excel 2021 and Excel for the web. Which version of Excel do you work with? Alternatives could be HLOOKUP or INDEX and MATCH.