If you've ever imported a Shopify export or a HubSpot contact list into another platform and watched it break, bad formatting is usually the reason. Knowing how to clear formatting in Excel sounds like a simple task, but when you're working with bulk data exports of thousands of rows, it's one of the most consequential steps in any ops workflow.
Stray cell styles, inconsistent date formats, number fields stored as text, and conditional formatting rules that survive the CSV conversion all cause the same downstream problems: broken imports, duplicate records, failed automations, and segmentation errors that take hours to trace back to their source. Marketing Ops, Sales Ops, and RevOps teams deal with this before almost every campaign launch or system sync.
This guide walks through exactly how to clear formatting in Excel at scale, what to watch for in exported data from Shopify, HubSpot, Klaviyo, and Salesforce specifically, and where a one-pass automated workflow can replace most of the manual work entirely.
Why Formatting Problems in Exported Data Are an Ops Problem, Not a Spreadsheet Problem
The instinct is to treat Excel formatting cleanup as a minor chore. In practice, it's a recurring tax on your team's time, and when it's skipped or done poorly, the cost shows up somewhere you don't expect.
Here's what actually breaks when formatting isn't cleaned before import:
- Duplicate records. A contact with a phone number formatted as (555) 867-5309 in one system and 5558675309 in another will import as two separate records. Your deduplication logic won't catch it because the strings don't match.
- Broken date fields. Salesforce expects dates in one format. Klaviyo expects another. An export from Shopify may give you a third. If you don't standardize date and number formats in Excel before import, field mapping fails silently or fills the wrong values entirely.
- Failed automations. Enrollment triggers, segmentation rules, and workflow conditions all depend on clean, consistently typed field values. A revenue field stored as text instead of a number will exclude contacts from the segments they should be in.
- Conditional formatting rules carried into CSVs. Most ops teams don't realize that conditional formatting in Excel can influence how data appears when opened in other applications, leading to misread values downstream.
The problem compounds at scale. A 500-row list is annoying to fix manually. A 50,000-row export from Salesforce or Shopify is unmanageable without a systematic approach.
How to Clear All Formatting in Excel: The Quick Method
For smaller datasets where a manual pass is still feasible, Excel has a built-in tool that removes most surface-level formatting in seconds.
- Select the full dataset. Press Ctrl+A (or Cmd+A on Mac) to select all cells, or highlight just the columns you're cleaning.
- Open the Clear menu. Go to Home > Editing > Clear in the ribbon.
- Choose Clear Formats. This removes cell colors, font styles, borders, number formatting, and text alignment without deleting the underlying data.
- Check your number and date columns separately. After clearing formats, select date and number columns, right-click, choose Format Cells, and set the format explicitly (e.g., YYYY-MM-DD for dates, Number for revenue fields).
This gets you most of the way there on a clean, single-source export. But there are two things this approach won't touch:
- Conditional formatting rules. To clear those, go to Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet. Do this before the main clear step.
- Data stored as the wrong type. A revenue field where every value has a leading apostrophe (forcing text storage) will still be text after you clear formats. You need to convert those columns explicitly using Text to Columns or a value-paste step.
For the datasets most ops teams actually work with, the manual method is a starting point, not a solution.
Clearing Conditional Formatting in Large Datasets Without Breaking Your Data
Conditional formatting is the formatting issue most likely to survive a CSV export and cause confusion downstream. When you're working with a large dataset, especially one that's passed through multiple hands or been used as a reporting template before being turned into an import file, conditional formatting rules accumulate.
To clear conditional formatting in an Excel large dataset cleanly:
- Before touching anything else, go to Home > Conditional Formatting > Manage Rules and review what's there. Sometimes rules are applied to the entire sheet rather than specific columns, which affects performance on large files.
- Select the full sheet (Ctrl+A), then go to Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet.
- Save as a new file immediately. Never overwrite your original export. You want a clean working copy and a source of truth.
On very large files (100,000+ rows), clearing conditional formatting rules can cause Excel to recalculate the whole sheet. Give it time, and don't interrupt the process. If Excel freezes, close without saving and reopen. The rules will still be there to clear again.
Once conditional formatting is gone, run your standard Clear Formats pass on the data columns. Then address column types. This order matters: clearing conditional formatting first means you're not fighting Excel's rendering engine while also trying to reformat columns.
Standardizing Date and Number Formats for CRM Import
Clearing visual formatting is only half the job. The other half is making sure your field values are typed and formatted in the way your destination system expects. This is where most import failures actually originate.
Date fields: Export files from Shopify, HubSpot, Klaviyo, and Salesforce each use slightly different date formats. Before importing anywhere, standardize all date columns to YYYY-MM-DD (ISO 8601). This format is accepted by every major CRM and marketing platform.
- Select the date column, press Ctrl+1 to open Format Cells, choose Custom, and enter YYYY-MM-DD.
- If dates are stored as text (common in exports), use the DATEVALUE() function to convert them first, then format the resulting column.
Number and currency fields: Revenue, order value, and quantity fields need to be stored as actual numbers, not text. Common signs of a problem: values are left-aligned in the cell, there's a green triangle in the corner, or formulas return errors when referencing the column.
- To fix, select the column, go to Data > Text to Columns, click Finish without changing settings. This forces Excel to re-evaluate the data type.
- Alternatively, paste a 1 into an empty cell, copy it, select the problem column, and use Paste Special > Multiply. This coerces text numbers into real numbers.
Phone numbers: Strip all formatting characters (parentheses, dashes, spaces) before import. Use Find and Replace (Ctrl+H) to remove them in sequence. Store phone numbers as text with a leading apostrophe to prevent Excel from dropping leading zeros.
For a deeper look at how bad field formats propagate through your stack, this breakdown of CRM bad data failure modes explains exactly what each type of formatting error damages downstream.
Platform-Specific Formatting Issues to Know Before You Import
Each platform has its own quirks. Here's what to check specifically when prepping exports from the four most common sources.
Shopify: Order exports often include multi-currency fields and compound address columns that need splitting. Tax fields can export as percentages (text) rather than decimals (numbers). Variant data sometimes merges into a single column. Separate and standardize before importing into Klaviyo or HubSpot.
HubSpot: Contact exports include HubSpot's internal record IDs, which will cause import errors if left in the file when importing to a different system. Date fields export in a timestamp format that needs conversion. Lifecycle stage and lead status fields export as display labels, not system values, so check your destination platform's accepted values before mapping.
Klaviyo: List exports include subscription status and consent fields that carry legal weight. Don't strip those columns. Format the date fields and standardize email addresses (lowercase, trimmed) but leave consent data intact. Klaviyo also exports custom properties that may not exist in your destination system. Decide in advance which columns to keep and which to drop.
Salesforce: Bulk exports from Salesforce often include formula fields that export as display values rather than source values. Owner fields export as names, not IDs. If you're re-importing into Salesforce or mapping to HubSpot, you'll need to handle those separately. The Salesforce data standardization guide covers this in detail for RevOps teams working without developer support.
The Real Cost of Skipping Excel Cleanup Before Every Import
Every ops team has a version of this story: a campaign goes out to a segment that was supposed to be filtered to active customers in the last 90 days. But a date field wasn't formatted correctly, the filter didn't work as expected, and the email went to a much larger (or smaller) group than intended.
The damage from skipped Excel data cleaning for CRM import is rarely catastrophic in a single incident. It accumulates. A few hundred duplicate records this month. A broken automation next month. A revenue report that's slightly off because number fields were typed as text. Over a quarter, these small failures add up to meaningful lost efficiency, and in some cases, meaningful lost revenue.
For Marketing Ops and RevOps teams specifically, the formatting cleanup step before every bulk import is a known, recurring cost. The question is whether that cost is paid in manual time or in errors. Most teams default to manual time, which means someone on your team is spending an hour or more in Excel before every major import or sync, doing the same steps they did last month and will do again next month.
That pattern is exactly what a systematic RevOps data cleanup workflow is designed to break. The manual Excel approach works, but it doesn't scale, and it doesn't prevent the same issues from appearing in the next export.
How to Automate Excel Data Cleanup for Marketing Ops
The manual steps above are correct and worth knowing. But for teams running regular imports from Shopify, HubSpot, Klaviyo, or Salesforce, doing them by hand before every sync isn't a sustainable workflow. This is where automation earns its place.
CleanSmart connects directly to your live platforms and runs formatting cleanup, deduplication, gap-filling, and anomaly detection in a single pass, without requiring you to export to Excel first. Here's how the core features map to the problems covered in this guide:
- AutoFormat standardizes date fields, number types, phone number formats, and email casing across your entire dataset automatically. The same rules that you'd apply manually in Excel are applied consistently at scale, every time.
- SmartMatch catches duplicate records that survive import because of formatting differences, the exact scenario where (555) 867-5309 and 5558675309 both make it in as separate contacts.
- SmartFill identifies and fills gaps in required fields, so imports don't fail because a mandatory column has blank rows.
- LogicGuard flags anomalies, values that are technically formatted correctly but logically wrong, like a future ship date on a closed order or a revenue field with a negative value that shouldn't exist.
- Clarity Score gives you a single data quality metric before and after each pass, so you can see exactly what improved and confirm the dataset is ready to import.
For ops teams who want to understand the full scope of what automated cleaning covers, the no-code AI data cleaning guide walks through how a one-pass workflow handles duplicates, formatting, gaps, and anomalies across your entire stack simultaneously.
Related resources
Keep reading for related guides on data quality and cleanup:
- The RevOps Manager's Data Cleanup Guide: Data chaos is a RevOps problem, and this guide gives you the exact workflow to fix it across your entire stack for good.
- Salesforce Data Standardization: Ops Guide: No developer, no CSV wrangling: here's the single-pass workflow that cleans your Salesforce data fast.
- AI Data Cleaning: The No-Code Ops Guide: Duplicates, missing fields, bad formatting, and anomalies across your CRM and e-commerce stack, fixed in one automated AI pass.
Stop Cleaning the Same Data Before Every Import
CleanSmart's AutoFormat feature handles the date standardization, number type conversion, and field formatting that this guide walks through manually, applied automatically across your Shopify, HubSpot, Klaviyo, and Salesforce data in one pass. Pair it with SmartMatch for deduplication and LogicGuard for anomaly detection, and you're running a complete data hygiene workflow without opening Excel at all.
If you're spending time on formatting cleanup before every import or campaign sync, see exactly how CleanSmart handles it on your own data. Check out the product demo to see AutoFormat, SmartMatch, and the Clarity Score in action.