Read more: http://www.computeractive.co.uk/2198038
If variables are the what, functions are the how. They are the actions of the program and can be very simple or very complicated. If you're wondering if they're like functions in Excel, you'd be exactly right. They're also referred to as methods.