Hi - Could you use Details Report DataPage instead of single record update ( to enable editing of the fields select TEXT from FORM ELEMENT). Use "Calculated Field" and paste your formula there. Then add two HTML block, first HTML block is on top of your calculate field and the other is at the bottom.
Paste this script on your first HTML block :
<table style="display: none;">
Then this script on your second HTML block: