Mike Martin
New Member
Hello. I am looking for some ideas to help solve something I have been struggling with.
I have a history table which (for simplicity's sake) has 2 columns: Date and total sales (could just as easily be number of units produced/shipped/whatever) for the day. There is a row for each business day. What I am trying to do is show, over a 10 year period, which days of the month, within each month, are the highest amount of sales generated. For example: I want to be able to demonstrate "During January, the highest sales most often occur on the 10th, 15th, and 20th. During February ......" There are multiple days of the month with top sales because of the 10 year span and I would likely select the 3 dates in each month with most occurrences of max.
It has been fairly easy to create a small work table showing the highest sale of each month within each year (using a combination of MAX and array). What I have not been able to do is identify the day of each of the 120 months when the max occurred. This is where I am stuck and looking for help.
The results of this would become the input for a scatter chart where the name of each month would be on the Y axis and the day of the month on the X. (Instead of picking the top 3 days, I may end up showing the number of times max occurred on each day.)
I hope I made this clear enough.
Thanks in advance for any help you can offer.
I have a history table which (for simplicity's sake) has 2 columns: Date and total sales (could just as easily be number of units produced/shipped/whatever) for the day. There is a row for each business day. What I am trying to do is show, over a 10 year period, which days of the month, within each month, are the highest amount of sales generated. For example: I want to be able to demonstrate "During January, the highest sales most often occur on the 10th, 15th, and 20th. During February ......" There are multiple days of the month with top sales because of the 10 year span and I would likely select the 3 dates in each month with most occurrences of max.
It has been fairly easy to create a small work table showing the highest sale of each month within each year (using a combination of MAX and array). What I have not been able to do is identify the day of each of the 120 months when the max occurred. This is where I am stuck and looking for help.
The results of this would become the input for a scatter chart where the name of each month would be on the Y axis and the day of the month on the X. (Instead of picking the top 3 days, I may end up showing the number of times max occurred on each day.)
I hope I made this clear enough.
Thanks in advance for any help you can offer.