Then fill out your sales data for the day. Your sheet should match the screenshot above.Īdd a new tab, and copy your template into it. I used 24-hour time, but you can use AM/PM notation if you prefer.
Then in the first column put a break down of hourly totals from 8-5. Across the top add Monday through Friday. Using this first blank as a template to copy into a new tab each day could save you some time. If you work in retail or other sales position, this is a helpful sheet to track revenue. Your macro is going to add a daily sales total, and then add an average in the last column of each hourly period. Click on your macro name and click Run to run your recorded actions.Įxample 1: Daily Sales Total and Hourly Averageįor an example macro, you are going to run through a daily sales sheet, with the sales broken down by hourly totals. Clicking macros will bring up the saved macros in your workbook. Once you record your actions, they are available on this same tab. The Personal Macro Workbook is in your user profile and lets you use your macros between your files. You can scope your macro to the Current Workbook, a New Workbook, or in your Personal Macro Workbook. Click this, and a dialog pops up allowing you to name your macro and set a keyboard shortcut. You're looking for the third option in the Ribbon, Record Macro.