Looks like it should be pretty straightforward.
You could almost exactly copy your excell file, just have events to calculate the things that are calculated.
Example for adding:
Every tick Set Array.At(6,6): Array.At(3,6)+Array.At(4,6)+Array.At(5,6)
You could ofcourse add events to only change things when valuea are changed.