You could use Show If formulas to conditionally show the groups of columns, but perhaps this is a case where switching to a relational database might prove more appropriate.
I made a video a few weeks ago talking about when to split or not, might help.