Product Custom Label Excel Generator

Back to Home (More tools)

Define flexible label rules based on product ID and ad metrics, generate Excel/Sheets custom label formulas with one click, and preview results and label distribution using mock data.

Data import
Current: mock sample data
Import from file
Label Rules
Choose which custom_label columns to generate
Product type rules (optional)
Detect product type from product ID to limit where rules apply.
No product type rules yet. Click the button below to add one.
Product type source
Controls how product type is determined for each row and which rules apply.
Active label column
Rule product type view
Initializing editor...
Default label:
Smart rule generator
Generate good / bad / low_volume rules from target ROAS, add-to-cart cost, etc.
Excel custom label formula

Formula example for Excel/Sheets. It assumes data starts at row 2, product id in column A and the selected metrics are mapped sequentially to columns B–J.

Cost field unit:
=LET(k, A2, IF(k="", "", IF(OR(AND(F2>0, J2>2), AND(E2>0, H2<10, (D2/1000000)<100)), "good", IF(OR(AND((D2/1000000)>20, E2=0), AND((D2/1000000)>20, E2>0, H2>20), AND((D2/1000000)>200, J2<1)), "bad", IF((D2/1000000)<0, "low_volume", "neutral")))))
You can also paste an existing formula below to reverse-generate the rules above.
Select metrics for table
Control metrics shown in preview table
Data preview
Sort: id (ASC)
#ABCDEFGHIJK
#id↑Product typeImpressionsClicksCostAll conv.ConversionsConv. valueCost / all conv.Cost / conv.ROAScustom_label_0
2pid0001Unmatched10,29353640.800.7510.002494.1954.222.643.00good
3pid0002Unmatched49,1914680.005.0013.72772.135.003.2910.00good
4pid0003Unmatched12,3607630.000.000.00714.350.980.661.00neutral
5pid0004Unmatched2,4252210.005.001.53520.5230.0011.761.00neutral
6pid0005Unmatched45,3272290.000.000.003520.690.001.510.50neutral
7pid0006Unmatched49,3466280.000.000.003042.500.001.550.00neutral
8pid0007Unmatched20,6597000.000.000.00735.620.003.581.50neutral
9pid0008Unmatched98,80362143.1920.044.102084.772.1610.5210.00good
10pid0009Unmatched93,6661648.490.1718.173311.51200.002.6710.00good
11pid0010Unmatched57,82275218.9014.8419.863507.551.270.9510.00good
12pid0011Unmatched15,72543712.868.6913.33129.341.480.9710.00good
13pid0012Unmatched84,0871238.176.114.61231.441.341.7710.00good
14pid0013Unmatched55,139112.6411.641.442958.311.098.7910.00good
15pid0014Unmatched80,1631517.137.1710.811587.080.990.6610.00good
16pid0015Unmatched97,7794373.092.5114.322911.721.230.2210.00good
17pid0016Unmatched52,7365433.8017.081.362268.840.222.8010.00good
18pid0017Unmatched29,47731042.3623.690.312485.141.79138.0710.00good
19pid0018Unmatched21,90813443.6211.497.9444.973.805.501.03good
20pid0019Unmatched67,1425722.300.4617.313273.7348.451.2910.00good
21pid0020Unmatched99,21231822.273.224.373052.976.915.0910.00good
22pid0021Unmatched16,310142.594.5413.59620.269.393.1310.00good
23pid0022Unmatched88,59268211.3027.902.921447.120.413.8710.00good
24pid0023Unmatched24,22918637.2724.818.522412.901.504.3810.00good
25pid0024Unmatched17,986687.210.769.461261.049.490.7610.00good
26pid0025Unmatched15,17451036.6327.0712.853790.731.352.8510.00good
27pid0026Unmatched85,7418612.550.2019.653074.6363.220.6410.00good
28pid0027Unmatched69,55513831.6815.2811.531762.962.072.7510.00good
29pid0028Unmatched3,5367246.4425.8719.152424.061.802.4210.00good
30pid0029Unmatched25,5046525.106.8711.922829.290.740.4310.00good
31pid0030Unmatched18,8717940.688.009.682350.605.084.2010.00good
32pid0031Unmatched3,73359231.1618.6416.372529.051.671.9010.00good
33pid0032Unmatched50,35120449.7316.7015.873784.882.983.1310.00good
34pid0033Unmatched46,64032933.7410.5510.12585.113.203.3310.00good
35pid0034Unmatched93,487533.5222.9819.52375.891.461.7210.00good
36pid0035Unmatched27,4743173.8713.515.63713.960.290.6910.00good
37pid0036Unmatched52,93141530.629.7416.11148.463.141.904.85good
38pid0037Unmatched77,8226468.6010.4511.773413.460.820.7310.00good
39pid0038Unmatched15,08178641.6229.2815.593676.021.422.6710.00good
40pid0039Unmatched41,58454917.7620.123.501712.450.885.0710.00good
41pid0040Unmatched5,7933833.6112.2816.663218.772.742.0210.00good
42pid0041Unmatched18,19431346.7726.3015.02866.521.783.1110.00good
43pid0042Unmatched89,13012545.7817.4311.712998.672.633.9110.00good
44pid0043Unmatched46,9677317.546.788.203461.192.592.1410.00good
45pid0044Unmatched3,467885.107.859.552155.090.650.5310.00good
46pid0045Unmatched66,80470428.2213.8519.692850.632.041.4310.00good
47pid0046Unmatched21,09718510.2119.5116.2511.150.520.631.09good
48pid0047Unmatched44,6267445.960.054.592166.52200.0010.0210.00good
49pid0048Unmatched40,50028341.2529.6710.811015.891.393.8210.00good
50pid0049Unmatched22,60222110.8912.8913.353918.980.840.8210.00good
51pid0050Unmatched16,42342633.328.3212.961990.784.012.5710.00good
52pid0051Unmatched35,65753624.773.470.81255.827.1530.5210.00good
53pid0052Unmatched11,45952926.285.064.591956.735.195.7210.00good
54pid0053Unmatched84,443916.3018.0312.371323.090.350.5110.00good
55pid0054Unmatched80,53126434.434.7214.253653.507.292.4210.00good
56pid0055Unmatched21,25574327.628.181.673808.713.3816.5510.00good
57pid0056Unmatched10,93242119.418.434.422207.462.304.3910.00good
58pid0057Unmatched51,08514044.911.225.513206.6236.898.1610.00good
59pid0058Unmatched18,8234987.0920.5113.7828.160.350.513.97good
60pid0059Unmatched2,70815232.5917.5214.77561.501.862.2110.00good
61pid0060Unmatched33,5302314.2116.8019.66959.400.250.2110.00good
62pid0061Unmatched21,19163633.1527.8512.863401.981.192.5810.00good
63pid0062Unmatched36,6786151.142.8218.383021.120.400.0610.00good
64pid0063Unmatched81,4016338.968.605.223877.444.537.4610.00good
65pid0064Unmatched73,8854874.9720.5812.311841.140.240.4010.00good
66pid0065Unmatched93,3296915.7514.1513.14230.141.111.2010.00good
67pid0066Unmatched39,4487910.6716.160.583467.950.6618.5310.00good
68pid0067Unmatched58,8143945.679.2212.07350.800.620.4710.00good
69pid0068Unmatched26,65813542.730.7215.752818.0059.042.7110.00good
70pid0069Unmatched65,97126822.8714.2617.572147.441.601.3010.00good
71pid0070Unmatched32,4602574.6320.779.863700.870.220.4710.00good
72pid0071Unmatched36,52162514.4720.451.623949.840.718.9410.00good
73pid0072Unmatched86,53712328.983.3710.551805.948.592.7510.00good
74pid0073Unmatched37,4983948.4617.2717.312209.900.490.4910.00good
75pid0074Unmatched21,01247520.5122.571.833125.760.9111.2210.00good
76pid0075Unmatched16,19029740.8518.421.991244.862.2220.5610.00good
77pid0076Unmatched48,23718410.9723.6214.561345.430.460.7510.00good
78pid0077Unmatched6,19472549.0227.2518.443640.771.802.6610.00good
79pid0078Unmatched10,37349637.8920.660.103571.801.83200.0010.00good
80pid0079Unmatched99,58165841.9122.831.131926.811.8437.0210.00good
81pid0080Unmatched6,50546929.0528.737.67635.641.013.7910.00good
82pid0081Unmatched70,25140626.5412.501.57202.392.1216.897.63good
83pid0082Unmatched5,78064114.595.8713.031814.932.491.1210.00good
84pid0083Unmatched88,55064223.5521.5014.333632.791.101.6410.00good
85pid0084Unmatched56,12240450.1512.2114.50327.044.113.466.52good
86pid0085Unmatched27,76937722.4120.3314.461154.581.101.5510.00good
87pid0086Unmatched12,43646323.229.072.363094.292.569.8410.00good
88pid0087Unmatched85,04333248.9713.518.762367.953.635.5910.00good
89pid0088Unmatched91,90175034.332.111.30221.5116.2826.316.45good
90pid0089Unmatched76,75618241.3416.8418.563011.102.452.2310.00good
91pid0090Unmatched35,50945720.1811.062.69302.091.827.5010.00good
92pid0091Unmatched91,09828039.2817.4210.702449.022.253.6710.00good
93pid0092Unmatched8,6924049.7025.043.991223.880.392.4310.00good
94pid0093Unmatched15,12834227.841.9216.032365.9914.511.7410.00good
95pid0094Unmatched80,13346739.785.2617.913807.157.572.2210.00good
96pid0095Unmatched8,84352625.4221.691.67265.451.1715.2010.00good
97pid0096Unmatched1,38044612.6513.801.47763.890.928.6210.00good
98pid0097Unmatched40,71031244.5614.5612.271507.433.063.6310.00good
99pid0098Unmatched51,40232849.128.876.393240.825.547.6910.00good
100pid0099Unmatched40,4987511.288.517.801388.460.150.1610.00good
101pid0100Unmatched64,89169610.5523.834.352543.760.442.4310.00good
Label summary table
Select metrics to summarize (multi-select)
custom_label_0Product countImpressionsClicksCostConversionsConv. valueROAS
good954,265,14534,0112,426.04973.08196639.9181.05
neutral5130,1172,5410.001.538533.6823064010.53
Total1004,395,26236,5522,426.04974.61205173.6084.57
Select Metrics
Select multiple metrics
Label share by metric (pie charts)
Impressions
good97.0%
neutral3.0%
Clicks
good93.0%
neutral7.0%
Cost
good100.0%
neutral0.0%
Conversions
good99.8%
neutral0.2%
Conv. value
good95.8%
neutral4.2%
Product Custom Label Excel Generator·All data processed in your browser and will not be stored or shared.·© 2025 XiaoFlow. All rights reserved.
Made with ♥ ByXiaoFlow