Hi to everybody!
I need your help for one more time! Here's the situation:
(PLEASE REFER TO ATTACHED FILE FOR A SIMPLIFIED EXAMPLE)
I have a list of sales transactions that includes in the respective columns: customer code, product code, intial price of each product, discount provided to each customer and date invoiced.
Through this period there were some sales promotions during which if each customer purchased in the same date a minimum number of predefined products he woyud get another specific product for free. Each promotion had a set of criteria that included Starting Date, Last Date Active, Set of products that he could choose from, min amount of selected product purchased, id of free product.
I need to evaluate two things for each promotion: which was the total sales amount of the promotion (including the initial price of the free products given) and which was the total value of the free products given with the promotion.
I have included in the attached sheet the correct answers for the simplified example which were manually calculated. In my original file i have a sales data sheet that includes 30,000 rows and manual calculation is impossible.
Any ideas how this can be accomplished through formulas? Thank you all in advance.
I need your help for one more time! Here's the situation:
(PLEASE REFER TO ATTACHED FILE FOR A SIMPLIFIED EXAMPLE)
I have a list of sales transactions that includes in the respective columns: customer code, product code, intial price of each product, discount provided to each customer and date invoiced.
Through this period there were some sales promotions during which if each customer purchased in the same date a minimum number of predefined products he woyud get another specific product for free. Each promotion had a set of criteria that included Starting Date, Last Date Active, Set of products that he could choose from, min amount of selected product purchased, id of free product.
I need to evaluate two things for each promotion: which was the total sales amount of the promotion (including the initial price of the free products given) and which was the total value of the free products given with the promotion.
I have included in the attached sheet the correct answers for the simplified example which were manually calculated. In my original file i have a sales data sheet that includes 30,000 rows and manual calculation is impossible.
Any ideas how this can be accomplished through formulas? Thank you all in advance.