1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Problem for calculate data in an entire line

Hello everyone

I have an excel tab and I want to calculate the sum of the 14 cells in the line before the last cell in whiche I put a value. I think it's not complicated but with my formula, excel stop to calculate after 14 cells .... Can you help me ?

The script is : =SUM(OFFSET(B2,0,MAX(0, COUNTA(B2:XFD2)-1-14),1,14))

all is perfect but after the 13th cells the data are not included ....

Thanks

submitted by /u/Embarrassed-Mango758
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article