Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以帮我弄清楚如何从 Excel 的网格中获取每个月的摘要吗?请查找以下图像以获取信息。先感谢您。
您尝试使用以下公式
=SUMPRODUCT((YEAR(C3:L9)=2016)*(MOD(COLUMN(C3:L9),2)=1)*(MONTH(C3:L9)=1)*(D3:M9))
上述公式适用于一月份。您可能需要将 'MONTH(C3:L9)=1' 中的月份编号 1 更改为 2 的 2 月和 3 的 3 月,依此类推。