How to Split Products to Attribute Sets
Distribute imported product data from a single spreadsheet to multiple attribute sets automatically using cobby's "Split to Attribute Set" function.
Prerequisites
- cobby Excel add-in installed
- Product data with attribute set assignments
- Basic Excel formula knowledge
- Understanding of your store's attribute sets
When to Use This
Use this process when:
- Importing products from suppliers that belong to different attribute sets
- Bulk creating products across multiple categories
- Processing product feeds that contain mixed product types
Method 1: Without Template (First-Time Import)
Use this method when importing data from a new source for the first time.
Step 1: Prepare Product Data
- Open the Excel file containing your new product data
- Format the data as a table: Press Ctrl+A then Ctrl+L
- Confirm the table creation dialog
Step 2: Add Column Prefixes
Add prefixes to distinguish your import columns from Magento columns:
- Insert a new row above your column headers
- In the first cell of the new row, enter the formula:
="prefix-"&[Column Name]- Example:
="her-"&TableElectronics[[#Headers],[Article Number]]
- Example:
- Drag the formula across all column headers
- Copy the new row and use Paste Special → Values to replace the original headers
- Delete the formula row
Step 3: Add Attribute Set Column
- Add a new column named "Attribute Set" to your table
- For each product row, enter the name of the target attribute set
- You can use Excel formulas to automate this assignment based on product characteristics
Step 4: Load Import Mode
- In cobby, load the import mode
- Select the "Default" template
- Click Load Products
Step 5: Split to Attribute Sets
- Click the Split to Attributeset button in the cobby ribbon
- cobby will distribute your data to the appropriate attribute set sheets
- Yellow columns will appear in each attribute set containing your import data
Step 6: Map Data with Formulas
Map your import data (yellow columns) to Magento attributes using Excel formulas:
Direct assignment:
=[@[prefix-Article Number]]
Combine multiple columns:
=[@[prefix-Name]]&" "&[@[prefix-Height]]&" "&[@[prefix-Width]]&" "&[@[prefix-Depth]]
Result: "Madison LX2200 67.5 mm 48.85 mm 26.25 mm"
Lookup with translation table:
Create a reference table matching your values to Magento values:
=INDEX(Colors[Own Color],MATCH([@[prefix-Color]],Colors[Manufacturer Color],0))
Step 7: Save Products
- Review all formula mappings to ensure data is correctly assigned
- Click Save Products in the cobby ribbon
- New products/data will be imported to your store
Step 8: Save as Template (Optional)
To reuse these mappings for future imports:
- Clear the contents of all yellow columns in each attribute set
- Keep the formulas in the Magento attribute columns
- Click the dropdown arrow on Load Products → Template → Save
- Enter a template name and save
Method 2: With Existing Template (Recurring Imports)
Use this method when you have a saved template from previous imports.
Step 1: Open Supplier Data
- Open your supplier's Excel file
- Ensure the data is formatted as a table
Step 2: Load Template
- In cobby, click Load Products → Template
- Select your saved template from the list
- Click Load
Step 3: Verify Column Headers Match
Critical: The yellow column headers in the template must exactly match your supplier data:
- Same spelling
- Same capitalization
- Same spaces
- No extra characters
Tip: Use Power Query to transform supplier data to match your template format automatically.
Step 4: Split to Attribute Sets
- Click Split to Attribute Set
- Your data will automatically populate the yellow columns
- Existing formulas will map data to Magento attributes automatically
Step 5: Verify and Save
- Review the mapped data in each attribute set
- Verify formulas executed correctly
- Check that values appear in the correct Magento attribute columns
- Click Save Products
Tips for Success
Using Power Query
For recurring imports with varying formats, use Excel's Power Query to:
- Standardize column names
- Transform data to your template format
- Clean and validate data before import
Formula Best Practices
- Test formulas on a small dataset first
- Use absolute references ($) for lookup tables
- Add error handling with IFERROR() to catch missing data
- Document complex formulas for future reference
Template Management
- Create separate templates for each supplier
- Name templates descriptively (e.g., "Supplier-Electronics-Import")
- Regularly update templates as attribute structures change
- Keep a backup of working templates
Troubleshooting
Problem: Split to Attribute Set button does nothing
Solution: Verify you have an "Attribute Set" column with valid attribute set names. Check spelling matches exactly with Magento attribute set names.
Problem: Formulas return errors after splitting
Solution: Check that yellow column headers exactly match your formula references. Look for extra spaces or capitalization differences.
Problem: Data appears in wrong attribute sets
Solution: Review your "Attribute Set" column values. Ensure they match Magento attribute set names precisely (case-sensitive).
Problem: Some products don't import
Solution: Check that all required attributes for each attribute set have values. Missing required attributes will prevent product creation.