Hello,
I have question about setting up a table using either formulas or a vba macro that will break out sales numbers by quantity for a given month. These numbers will then be used to calculate discounts, but that is irrelevant. I've attached a table and will reference for my questions.
Each month I will enter the number of sales into the Sales # per month category. I'm currently using the sum function to fill the total sales so far. The columns to the right of total sales by month are what I'm struggling to figure out how to automate. The month of April for example only has 4,728 sales before reaching total sales of 100,000 and the rest of the sales for that month (50,464) are under 200,000 so they are placed in the 100K+ column. May has a split between 100K+and 200K+. These splits could happen in any month and each month could have any sales quantity. If anyone has an ideas that may help that would be amazing. I'm comfortable with writing vba code and long formulas, but I just can't wrap my head around this one. Thank you.
Edit - Added the excel file. Thanks Alan for pointing out the Manage Attachments section.
Attachment 643432
Bookmarks