Matt Grisham explains Using Cube Functions in Excel to Create MTD Calculations
Using Cube Functions in Excel to Create MTD Calculations | Dynamics Care Services
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.