We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Complex Excel Forumula
Options
Comments
-
DullGreyGuy said:
Layer Rate Commission Overrider Profit share 1 60% 30% 5% 10% 2 20% 30% 15% 0% 3 50% 20% 0% 10% What would be the formula to work out the Gross to Supplier for any given sale and layer? Have been trying to use a nested Product/If statement testing the Sales ID is the same and the Layer number is less than the current layer but seem to have to many cycles to go through and my head hurts.
=SUMPRODUCT((A2:A10="x")*(B2:B10<10),C2:C10, D2:D10, E2:E10)
If only one row satisfies the criteria for columns A and B then you'll get the product of the other 3 columns for the matching row, otherwise if there are multiple matching rows you'll get sum of each of the products.
Sounds like your requirement is a wee bit more complex than that but you may be able to adapt to your needs0 -
Maybe sub prime but at least a solution for you.
0
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards