Training: Clean a Broken CSV Import

Reading time: 3 minutes

A CSV import often looks right but does not calculate. Amounts are stored as text, dates are not real dates, names have extra spaces. Before any analysis, you must clean the data, and that is exactly what this exercise does.

The following exercise shows you how to fix an import with TRIM, SUBSTITUTE, VALUE and DATEVALUE.

What you will practice in this exercise

You work on a customer file imported from a CSV. You answer 8 questions, one formula per question:

  • Clean a customer name (TRIM + PROPER)
  • Copy the formula for all the names
  • Remove the space from an amount (SUBSTITUTE)
  • Convert the text to a number (VALUE)
  • Copy the formula for all the amounts
  • Total of the amounts (SUM)
  • Convert a text date to a real date (DATEVALUE)
  • Copy the formula for all the dates

Practice with exercises

Clean a broken CSV import
🔒 Members only

Clean a broken CSV import
Fix a broken CSV import: spaces, case, numbers and dates stored as text become usable again.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

Training: Clean a Broken CSV Import

Reading time: 3 minutes

A CSV import often looks right but does not calculate. Amounts are stored as text, dates are not real dates, names have extra spaces. Before any analysis, you must clean the data, and that is exactly what this exercise does.

The following exercise shows you how to fix an import with TRIM, SUBSTITUTE, VALUE and DATEVALUE.

What you will practice in this exercise

You work on a customer file imported from a CSV. You answer 8 questions, one formula per question:

  • Clean a customer name (TRIM + PROPER)
  • Copy the formula for all the names
  • Remove the space from an amount (SUBSTITUTE)
  • Convert the text to a number (VALUE)
  • Copy the formula for all the amounts
  • Total of the amounts (SUM)
  • Convert a text date to a real date (DATEVALUE)
  • Copy the formula for all the dates

Practice with exercises

Clean a broken CSV import
🔒 Members only

Clean a broken CSV import
Fix a broken CSV import: spaces, case, numbers and dates stored as text become usable again.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *