I need help with the following:
Sales: Year-to-date. For each Rep Group, summarize year-to-date sales (ending in the month selected) compared to year-to-date sales (ending the same month in the year prior to the selected year). For example, if “June” and “2018” are selected in the two drop-down lists, then this report would compare year-to-date sales from Jan 2018–Jun 2018, with year-to-date sales from Jan 2017–Jun 2017. Hint: For example, how will using the number of the month instead of the name of the month help you create a formula to easily summarize all sales ending in June (month 6)?
Average Unit Price: Year-to-date. For each Rep Group, summarize average year-to-date unit price (ending in the month selected) compared to average year-to-date unit price (ending the same month in the year prior to the selected year). For example, if “June” and “2018” are selected in the two drop-down lists, then this report would compare year-to-date sales from Jan 2018–Jun 2018 with year-to-date sales from Jan 2017–Jun 2017.
Solved by Z. S. in 26 mins