See attached screenshot. Select the adjacent headers for which you want a common group header and click on "Insert Header Cell Above".
One of the forum moderators
AC 27 USA and earlier • macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB