Problem: Why don't the date formats offer quarters or weeks?
Strategy: The TEXT() function in Excel will not let you display quarters or weeks. However, the FORMAT() function in VBA will let you display quarters and weeks. For a quick primer on setting up a VBA function to use this formatting, go to your browser and search for "Learn Excel 1074".
I realize that VBA scares people. I generally don't include tricks in this book that require VBA. I've written other books that include only VBA. However, given that you can get amazing results from 3 lines of VBA code, this trick makes the cut.
- Use a VBA function to format as quarters or weeks.
- Three lines of code enable the Quarter and Week trick.