Section visibility can be controlled programatically, so maybe the simplest way to do it would be to create a new section for the spreadsheet-type table.
By hand, I would create a run-time instance:
<!-- Run-time instance to hold control details so that we can control visibility on sections, groups, buttons, etc. -->
<xf:instance id="controls-instance">
<controls>
<spreadsheet-section-control/>
</controls>
</xf:instance>
And a bind to include the logic (this one will show the section if control-1 contains '2'):
<!-- Controls Data Binds -->
<xf:bind id="controls-binds" ref="instance('controls-instance')">
<xf:bind id="spreadsheet-section-control-bind" ref="spreadsheet-section-control"
name="spreadsheet-section-control" relevant="$control-1='2'"/>
</xf:bind>
And the control:
<fr:section id="spreadsheet-section-control" bind="spreadsheet-section-control-bind">
<!--Your spreadsheet controls go here-->
</fr:section>
Regards
Jez