I am a relatively inexperienced Mathematica user, so I apologise if there is a simple answer to this question. I would like to create a balance sheet that can be collapsed/expanded as necessary.

I have been trying to modify the code that has been shared here by user faysou, but so far I've been unable to get the results I want.

Essentially I'd like to be able to replicate grouping as in Excel like this:

enter image description here

Any help or pointers would be greatly appreciated.


Here is a link to my code

I can't figure out how to modify gg and oo so that it will accept the format of {"Cash at bank", 20, 30}.

  • $\begingroup$ Did you try using the other answer to the linked question? $\endgroup$
    – Karsten7
    Jul 10, 2015 at 8:52
  • $\begingroup$ What could you achieve by modifying the linked code and what exactly couldn't you achieve. $\endgroup$
    – Karsten7
    Jul 10, 2015 at 8:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.