Okay -- I'm prepared for someone saying I have to start over -- that I've made it all more complicated than it needs to be. I'm equally prepared to get an answer that will result in my exclaiming, "I knew that!" (While hitting my forehead against my keyboard . . . repeatedly). I'm pasting in the data sets below for a visual reference.
1) I created a VLOOKUP for filtering out each sales agents commissions.
2) A second VLOOKUP filtered the types of commissions
3) From the second VLOOKUP I sorted the profits in order to work out the commissions for each type (different kinds of commissions = different %).
4) Finally, the breakdown & sum up of the commissions for each week's pay out to the sales agent.
-- and here's where the problem comes in. The sorting will be on-going; items from previous weeks, from the current week and future weeks. (Has to be; the original data comes from the sales records and that is an annual record.) But, I need to have a pay-out total for the current week. So, I tried entering the date range above the pay-out data and added dates to the profit information sort and VLOOKUP -- hoping to do a SUMIFS. It didn't work -- keep getting the VALUE#.
So, what should I do/should have done? Be kind.
Excel Sum.png
Bookmarks