Your request mixes up a couple of things - it's like asking how much a banana costs according to the color of the truck it was delivered on.
But to bring you a couple of steps forward:
How to play with MS Excel:
Draw graph in Excel using[
^]
Model View Controller (MVC)[
^] is a design pattern used in (hopefully) all applications.