hi,

its simple. go to file menu of excel, go to options, click cutomize ribbon, in right panel check developer, that would add an xtra developer tab in excel
then go to developer tab, click insert in developer tab and wld show different buttons, select a button and create anywher ein excel sheet by sizing the button, as u create a button a new window will come up asking about macro, give a name to macro and click new
that will give you window to enter macro, once u enter the code that I gave, just manipulate some terms based on my explanation in previous post for your columns and rows.
so after you enter the code (which should b in a format mentioned above) you just have to press the button that u made to get your formula working