Hide and Show fields
-
Hi, I want to know how to hide or show one field that is dependent on other two fields? The other two fields have dropdowns. So, I want that if I select sepcific options from these two other fields, it would hide or show that third field
-
My basic question is how to use for loop in your plugin? I have fieldname45 with tons of dropdown options. So instead of using if else statement one by one for each option in dropdown, I want for loop to perform this task? Is there any way to do that?
Did you understand what I’m asking?
Hello @asjad492
Your question is too general. There are too many options for using loops in projects. But not only loops. You can use any valid javascript structure like plain objects, etc.
For example:
(function(){ var o = { 'x' : 1, 'y' : 10, 'z' : 100 }; for(var i in o){ if(i == fieldname1) return o[i]; } return CONCATENATE('The value ', fieldname1, ' is not valid'); })()
The previous code uses a plain object and walks through its properties with a
for
loop to compare its properties’ names with the value of the fieldname1 field using anif
conditional statement. When the field’s value matches the property name, the equation returns the property value or a text indicating the fieldname1 field value is invalid.This particular example can be implemented without a loops or conditional statements as follows:
({'x' : 1, 'y' : 10, 'z' : 100 })[fieldname1] || CONCATENATE('The value ', fieldname1, ' is not valid');
What I’m trying to explain is that there is no unique way to implement a project. But to implement complex equations or optimized solutions, you need basic JS knowledge.
Best regards.
I actually want to use for loop for the below example. I have a drop down fieldname45 with too many options to select from. These are basically product categories and each category shows same result due to which I want to use for loop. So how to use this for the code below?
(function(){ var options = ['Ger?te > Computer, Tablets & Netzwerk', Car accessories’]; for (var i = 0; i < options.length; i++) { // Set the value of fieldname45 to the current option in the loop fieldname45 = options[i]; if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')){ if (fieldname31 < 300) { return SUM(fieldname30*0.1,fieldname31*0.065,0,0); } else { return SUM(fieldname30*0.1,fieldname31*0.02,0,0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')){ if (fieldname31 < 300) { return SUM(fieldname30*0.05,fieldname31*0.065,0,0); } else { return SUM(fieldname30*0.05,fieldname31*0.02,0,0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')){ if (fieldname31 < 300) { return SUM(fieldname30*0.05,fieldname31*0.065,0,0); } else { return SUM(fieldname30*0.05,fieldname31*0.02,0,0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')){ if (fieldname31 < 300) { return SUM(fieldname30*0.05,fieldname31*0.065,0,0); } else { return SUM(fieldname30*0.05,fieldname31*0.02,0,0); } } else if (fieldname39 == 'Nein') { if (fieldname31<990) { return SUM(0.35,fieldname31*0.065,0,0); } else { return SUM(0.35,fieldname31*0.02,0,0); } } } } })();
Hello @asjad492
Lines that these has no sense:
fieldname45 = options[i];
Because the fields names are not variables. The plugin replaces them by their corresponding values before evaluating the equations. You cannot assign a value to another. And one more time, you cannot use single line comment structures in the equations.
If you need we implement your equation, you should contact us through the plugin website.
Best regards.
I have everything setup just this confusion is left. How then I use for loop for this dropdown field fieldname45?
I have deleted that single line comment. Now how can I use for loop for fieldnane45?
Are you there?
Hello @asjad492
Please, indicate the link the page that contains the form to check the value of the fieldname45 field.
Best regards.
Here it is: https://www.mein-gebuehrenrechner.de/?cff-form=12
There are some extra fields, ignore them. Only look at the fields I used in the code.
Hello @asjad492
In your code, you must remove the piece of code:
// Set the value of fieldname45 to the current option in the loop fieldname45 = options[i];
And the following code has multiple parser errors:
var options = ['Ger?te > Computer, Tablets & Netzwerk', Car accessories’];
The correct would be
var options = ['Ger?te > Computer, Tablets & Netzwerk', 'Car accessories'];
Note your fieldname45 does not includes a
Car accessories
option.Best regards.
Thanks it works. Now, if I want code up ti 16th element in the erray, what will I write?
Hi, BASED ON requirements, the code lines have reached up to 63000. Now when I hit calculate button, it is stuck. What should I do? Here is the link:
Hello @asjad492
First, if you have implemented an equation with 4927 lines of code, I would not hesitate to assert that your code is not optimized at all, and has serious performance problems. Furthermore, if your form includes 12 of these equations , your problem is even worst.
I recommend you to redesign your equation.
An initial thought about your equations. As I indicated in a previous entry, the plugin replaces texts with format fieldname# by their corresponding fields’ values. So, instead of using fieldname# through the equation, in equations like yours it is preferred to generate variables at the beginning of your equation, and use these variables in the equation.
For example, the equation:
(function () { var options = ['Ger?te > Computer, Tablets & Netzwerk', 'Ger?te > Drucker', 'Ger?te > PC- und Videospiele > Ersatzteile & Werkzeuge', 'Ger?te > Foto & Camcorder', 'Ger?te > Foto- und Camcorder > Speicherkarten', 'Ger?te > Foto- und Camcorder > Objektive', 'Ger?te > Mobiltelefone & Kommunikation', 'Ger?te > Mobiltelefone & Kommunikation > Speicherkarten', 'Ger?te > Haushaltsger?te', 'Ger?te > PC- und Videospiele > Konsolen', 'Ger?te > Scanner', 'Ger?te > PC- und Videospiele > Speicherkarten', 'Ger?te > TV, Video & Audio', 'Ger?te > Elektrische Ger?te für Enthaarung und Rasur', 'Ger?te > Elektrische Mund- und Zahnpflege', 'Ger?te > Elektrische Haarstylingger?te', 'Zubeh?r > Drucker, Scanner & Zubeh?r', 'Zubeh?r > Ersatzteile & Werkzeuge > TV, Video & Audio', 'Zubeh?r > Zubeh?r für Mobiltelefone', 'Zubeh?r > Batterien & Strom für den Haushalt', 'Zubeh?r > Kabel & Stecker', 'Zubeh?r > Kameras, Drohnen & Fotozubeh?r', 'Zubeh?r > Notebook- & Desktop-Zubeh?r', 'Zubeh?r > Objektive & Filter', 'Zubeh?r > Stative & Zubeh?r', 'Zubeh?r > Tablet- & eBook-Zubeh?r', 'Zubeh?r > Tastaturen, M?use & Zeigeger?te', 'Zubeh?r > TV- & Home-Audio-Zubeh?r', 'Zubeh?r > PC- und Videospiele > Zubeh?r', 'Zubeh?r > Zubeh?r für tragbare Audioger?te', 'Auto & Motorrad > Teile', 'Auto & Motorrad > Autoentertainment', 'Auto & Motorrad > Dashcams', 'Auto & Motorrad > Elektronik-Zubeh?r', 'Auto & Motorrad > Einparkhilfen', 'Auto & Motorrad > GPS & Navigationsger?te', 'Auto & Motorrad > Zubeh?r für Ladestationen & Ladeger?te', 'Auto & Motorrad > Ladestationen & -ger?te', 'Auto & Motorrad > Felgen', 'Auto & Motorrad > Komplettr?der', 'Auto & Motorrad > Reifen', 'Auto & Motorrad > Bekleidung, Schutzausrüstung & Handelswaren', 'Auto & Motorrad > Transportsysteme', 'Auto & Motorrad > Motor?l', 'Gewerbe & Industrie', 'Garten & Terrasse', 'HEIMWERKEN', 'Kleidung & Accessoires', 'Sneaker ( Unterkategorie von Herrenschuhen )', 'Sneaker ( Unterkategorie von Damenschuhen )', 'Uhren & Schmuck', 'Uhren & Schmuck > Armbanduhren & Taschenuhren', 'Uhren & Schmuck > Armbanduhren & Taschenuhren > Sammleruhren', 'Uhren & Schmuck > Weitere Uhren', 'Uhren & Schmuck > Zubeh?r', 'Medien > Filme und Serien (au?er Film NFTs #262053)', 'Medien > Musik (au?er Musik NFTs #262054)', 'Medien > Eintrittskarten', 'Medien > PC- und Videospiele', 'Musikinstrumente', 'NFTs > Film-NFTs', 'NFTs > Musik NFTs', 'NFTs > NFT-Kunst', 'NFTs > TCG NFTs', 'NFTs > Nicht-Sport Sammelkarten NFTs', 'NFTs > Sport-Trading-Card-NFTs', 'NFTs > Aufstrebende NFTs', 'Antiquit?ten & Kunst ( Au?er NFT Kunst # 262051 )', 'Baby', 'Handwerk & Künstlerbedarf', 'Sch?nheit & Gesundheit ( Ausnahmen sind: Elektrische Ger?te für Enthaarung und Rasur # 260783 Elektrische Mund- und Zahnpflegeger?te # 260774 Elektrische Haarstylingger?te # 260773 )', 'Briefmarken', 'Bücher und Zeitschriften', 'Büro- und Schreibwaren', 'Feinschmecker', 'Haustierbedarf', 'M?bel & Wohnen', 'Modellbau', 'Münzen', 'Reisen', 'Sammeln & Seltenes ( Ausnahmen sind: Aufstrebende NFTs # 262050 TCG NFTs # 262056 Nicht-Sport Sammelkarten NFTs # 262052 Sport Trading Card NFTs # 262055 )', 'Spielzeug', 'Sport', 'Verschiedene']; for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 0); } else { return SUM(0.35, fieldname31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Keine', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 0); } else { return SUM(0.35, fieldname31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Bis zu 24 Fotos hinzufügen', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.05, 0, 2.75); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Galerie Plus', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 2.75); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 2.75); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 2.75); } else { return SUM(0.35, fieldname31 * 0.02, 0, 2.75); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 0); } else { return SUM(0.35, fieldname31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 0); } else { return SUM(0.35, fieldname31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 0); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 0); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 0); } else { return SUM(0.35, fieldname31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.05, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Mindestpreis (bei Auktionsangeboten)', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, MIN(fieldname33 * 0.03, 150)); } else { return SUM(0.35, fieldname31 * 0.02, 0, MIN(fieldname33 * 0.03, 150)); } } } } for (var i = 0; i < 16; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } for (var i = 16; i < 30; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Auto & Motorrad > Teile', fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } for (var i = 31; i < 38; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 300) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } for (var i = 38; i < 41; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.065, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.065, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } for (var i = 41; i < 44; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Gewerbe & Industrie', fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } for (var i = 45; i < 47; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Kleidung & Accessoires', fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } for (var i = 48; i < 50; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.1, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 200) { return SUM(fieldname30 * 0.05, fieldname31 * 0.12, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Uhren & Schmuck', fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.14, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.14, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.12, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } for (var i = 51; i < 55; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 400) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } for (var i = 55; i < 59; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.09, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.09, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.09, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == 'Musikinstrumente', fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } for (var i = 60; i < 67; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.05, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.05, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.05, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.05, 0, 1.5); } } } } for (var i = 67; i < 84; i++) { if (AND(fieldname16 == 'Normales Angebot (Jetzt kaufen)', fieldname45 == options[i], fieldname17 == 'Untertitel', fieldname26 == 'Eurozone und Schweden')) { if (AND(fieldname39 == 'Ja', fieldname40 == 'Basis-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.1, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.1, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Top-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Premium-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (AND(fieldname39 == 'Ja', fieldname40 == 'Platin-Shop')) { if (fieldname31 < 990) { return SUM(fieldname30 * 0.05, fieldname31 * 0.11, 0, 1.5); } else { return SUM(fieldname30 * 0.05, fieldname31 * 0.02, 0, 1.5); } } else if (fieldname39 == 'Nein') { if (fieldname31 < 990) { return SUM(0.35, fieldname31 * 0.11, 0, 1.5); } else { return SUM(0.35, fieldname31 * 0.02, 0, 1.5); } } } } })();
Could be implemented as follows:
(function () { var options = ['Ger?te > Computer, Tablets & Netzwerk', 'Ger?te > Drucker', 'Ger?te > PC- und Videospiele > Ersatzteile & Werkzeuge', 'Ger?te > Foto & Camcorder', 'Ger?te > Foto- und Camcorder > Speicherkarten', 'Ger?te > Foto- und Camcorder > Objektive', 'Ger?te > Mobiltelefone & Kommunikation', 'Ger?te > Mobiltelefone & Kommunikation > Speicherkarten', 'Ger?te > Haushaltsger?te', 'Ger?te > PC- und Videospiele > Konsolen', 'Ger?te > Scanner', 'Ger?te > PC- und Videospiele > Speicherkarten', 'Ger?te > TV, Video & Audio', 'Ger?te > Elektrische Ger?te für Enthaarung und Rasur', 'Ger?te > Elektrische Mund- und Zahnpflege', 'Ger?te > Elektrische Haarstylingger?te', 'Zubeh?r > Drucker, Scanner & Zubeh?r', 'Zubeh?r > Ersatzteile & Werkzeuge > TV, Video & Audio', 'Zubeh?r > Zubeh?r für Mobiltelefone', 'Zubeh?r > Batterien & Strom für den Haushalt', 'Zubeh?r > Kabel & Stecker', 'Zubeh?r > Kameras, Drohnen & Fotozubeh?r', 'Zubeh?r > Notebook- & Desktop-Zubeh?r', 'Zubeh?r > Objektive & Filter', 'Zubeh?r > Stative & Zubeh?r', 'Zubeh?r > Tablet- & eBook-Zubeh?r', 'Zubeh?r > Tastaturen, M?use & Zeigeger?te', 'Zubeh?r > TV- & Home-Audio-Zubeh?r', 'Zubeh?r > PC- und Videospiele > Zubeh?r', 'Zubeh?r > Zubeh?r für tragbare Audioger?te', 'Auto & Motorrad > Teile', 'Auto & Motorrad > Autoentertainment', 'Auto & Motorrad > Dashcams', 'Auto & Motorrad > Elektronik-Zubeh?r', 'Auto & Motorrad > Einparkhilfen', 'Auto & Motorrad > GPS & Navigationsger?te', 'Auto & Motorrad > Zubeh?r für Ladestationen & Ladeger?te', 'Auto & Motorrad > Ladestationen & -ger?te', 'Auto & Motorrad > Felgen', 'Auto & Motorrad > Komplettr?der', 'Auto & Motorrad > Reifen', 'Auto & Motorrad > Bekleidung, Schutzausrüstung & Handelswaren', 'Auto & Motorrad > Transportsysteme', 'Auto & Motorrad > Motor?l', 'Gewerbe & Industrie', 'Garten & Terrasse', 'HEIMWERKEN', 'Kleidung & Accessoires', 'Sneaker ( Unterkategorie von Herrenschuhen )', 'Sneaker ( Unterkategorie von Damenschuhen )', 'Uhren & Schmuck', 'Uhren & Schmuck > Armbanduhren & Taschenuhren', 'Uhren & Schmuck > Armbanduhren & Taschenuhren > Sammleruhren', 'Uhren & Schmuck > Weitere Uhren', 'Uhren & Schmuck > Zubeh?r', 'Medien > Filme und Serien (au?er Film NFTs #262053)', 'Medien > Musik (au?er Musik NFTs #262054)', 'Medien > Eintrittskarten', 'Medien > PC- und Videospiele', 'Musikinstrumente', 'NFTs > Film-NFTs', 'NFTs > Musik NFTs', 'NFTs > NFT-Kunst', 'NFTs > TCG NFTs', 'NFTs > Nicht-Sport Sammelkarten NFTs', 'NFTs > Sport-Trading-Card-NFTs', 'NFTs > Aufstrebende NFTs', 'Antiquit?ten & Kunst ( Au?er NFT Kunst # 262051 )', 'Baby', 'Handwerk & Künstlerbedarf', 'Sch?nheit & Gesundheit ( Ausnahmen sind: Elektrische Ger?te für Enthaarung und Rasur # 260783 Elektrische Mund- und Zahnpflegeger?te # 260774 Elektrische Haarstylingger?te # 260773 )', 'Briefmarken', 'Bücher und Zeitschriften', 'Büro- und Schreibwaren', 'Feinschmecker', 'Haustierbedarf', 'M?bel & Wohnen', 'Modellbau', 'Münzen', 'Reisen', 'Sammeln & Seltenes ( Ausnahmen sind: Aufstrebende NFTs # 262050 TCG NFTs # 262056 Nicht-Sport Sammelkarten NFTs # 262052 Sport Trading Card NFTs # 262055 )', 'Spielzeug', 'Sport', 'Verschiedene'], f16 = fieldname16, f45 = fieldname45, f17 = fieldname17, f26 = fieldname26, f39 = fieldname39, f40 = fieldname40, f31 = fieldname31, f30 = fieldname30, f33 = fieldname33; for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 0); } else { return SUM(0.35, f31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Keine', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 0); } else { return SUM(0.35, f31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Bis zu 24 Fotos hinzufügen', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 2.75); } else { return SUM(0.35, f31 * 0.05, 0, 2.75); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Galerie Plus', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 2.75); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 2.75); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 2.75); } else { return SUM(0.35, f31 * 0.02, 0, 2.75); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 0); } else { return SUM(0.35, f31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Preisvorschlag (bei Angeboten im Festpreisformat)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 0); } else { return SUM(0.35, f31 * 0.05, 0, 0); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Sofort-Kaufen-Preis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 0); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 0); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 0); } else { return SUM(0.35, f31 * 0.02, 0, 0); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.05, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Mindestpreis (bei Auktionsangeboten)', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, MIN(f33 * 0.03, 150)); } else { return SUM(0.35, f31 * 0.02, 0, MIN(f33 * 0.03, 150)); } } } } for (var i = 0; i < 16; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } for (var i = 16; i < 30; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Auto & Motorrad > Teile', f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } for (var i = 31; i < 38; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 300) { return SUM(f30 * 0.1, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 300) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } for (var i = 38; i < 41; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.065, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.065, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } for (var i = 41; i < 44; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Gewerbe & Industrie', f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } for (var i = 45; i < 47; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Kleidung & Accessoires', f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } for (var i = 48; i < 50; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 200) { return SUM(f30 * 0.1, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 200) { return SUM(f30 * 0.05, f31 * 0.12, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Uhren & Schmuck', f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.14, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.14, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.12, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } for (var i = 51; i < 55; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 400) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 400) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } for (var i = 55; i < 59; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.09, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.09, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.09, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == 'Musikinstrumente', f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } for (var i = 60; i < 67; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.05, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.05, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.05, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.05, 0, 1.5); } else { return SUM(0.35, f31 * 0.05, 0, 1.5); } } } } for (var i = 67; i < 84; i++) { if (AND(f16 == 'Normales Angebot (Jetzt kaufen)', f45 == options[i], f17 == 'Untertitel', f26 == 'Eurozone und Schweden')) { if (AND(f39 == 'Ja', f40 == 'Basis-Shop')) { if (f31 < 990) { return SUM(f30 * 0.1, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.1, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Top-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Premium-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (AND(f39 == 'Ja', f40 == 'Platin-Shop')) { if (f31 < 990) { return SUM(f30 * 0.05, f31 * 0.11, 0, 1.5); } else { return SUM(f30 * 0.05, f31 * 0.02, 0, 1.5); } } else if (f39 == 'Nein') { if (f31 < 990) { return SUM(0.35, f31 * 0.11, 0, 1.5); } else { return SUM(0.35, f31 * 0.02, 0, 1.5); } } } } })();
I’ve not optimized your equation or checked if the equation is correct or not because I’m not implementing your project, I have simply generated the variables,
f16 = fieldname16, f45 = fieldname45, f17 = fieldname17, f26 = fieldname26, f39 = fieldname39, f40 = fieldname40, f31 = fieldname31, f30 = fieldname30, f33 = fieldname33;
And used them instead of the fields names in the rest of the equation’s code.
Best regards.
Hi, I checked in console. it is saying that adval is not a function.
- The topic ‘Hide and Show fields’ is closed to new replies.