Hello,Madis Tago
Welcome to the Microsoft community!
I have realized that your Excel Subtotal not working correctly.
We ran a test and found the same problem as you did.
This may be due to the difference between OneDrive web-based desktop
Since editing in OneDrive uses the Excel for web program.
For desktop use, you can use Excel for Microsoft 365, which is generally more comprehensive than Excel for web.
However, you can't rule out the possibility that editing in OneDrive may cause problems due to synchronization.
At the same time, I also confirmed the official description of the Excel Subtotal, the official explicitly mentioned the content of this article, the content of the figure is as follows.
SUBTOTAL function - Microsoft Support
Thank you for your careful observation and suggestions, your ideas and suggestions are crucial to improving Microsoft products, but this forum is mainly a technical communication platform, the Microsoft development team will not pay attention to this forum.
In response to this, I would suggest that you can send feedback to Microsoft.
If you have any ideas or suggestions about Microsoft Office applications you can post them on the specialized feedback platform Excel · Community (microsoft.com), where specialized developers will pay attention to and comment on your feedback. After sending your feedback, you can share the feedback link in this forum so that other users with similar issues, including me, can vote for your feedback and the more votes you get the more likely you are to get attention from the development team.
Feel free to post back if you need further assistance.
Thank you for your understanding and patience and I look forward to hearing from you.
Ryan - MSFT | Microsoft Community Support Specialist