Bird
Raised Fist0
Excelspreadsheet~20 mins

Saving and file formats (xlsx, csv) in Excel - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
File Format Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding CSV file format
Which of the following statements about CSV files is correct?
ACSV files can store multiple sheets in one file.
BCSV files preserve cell formatting like colors and fonts.
CCSV files save data as plain text separated by commas.
DCSV files are saved in a binary format.
Attempts:
2 left
💡 Hint
Think about how CSV files store data compared to Excel files.
📊 Formula Result
intermediate
1:30remaining
Effect of saving Excel file as CSV on formulas
You have a formula =A1+B1 in cell C1. You save the file as CSV and then reopen it. What will be the value in cell C1?
AThe cell shows the last calculated value before saving.
BThe formula <code>=A1+B1</code> remains and recalculates.
CThe cell is empty because formulas are not saved in CSV.
DThe cell shows an error like <code>#NAME?</code>.
Attempts:
2 left
💡 Hint
Remember what CSV files save: values or formulas?
Function Choice
advanced
1:30remaining
Choosing the right save format for preserving formulas and multiple sheets
You want to save your Excel workbook so that all formulas and multiple sheets are preserved. Which file format should you choose?
ACSV (.csv)
BXML Data (.xml)
CText (Tab delimited) (.txt)
DExcel Workbook (.xlsx)
Attempts:
2 left
💡 Hint
Think about which format Excel uses to save full workbooks.
🎯 Scenario
advanced
1:30remaining
Data loss scenario when saving as CSV
You have a sheet with dates formatted as MM/DD/YYYY and some cells with formulas. You save the file as CSV and reopen it. What problem might you see?
ADates and formulas are preserved exactly as before.
BDates may appear as numbers and formulas are lost.
COnly formulas are preserved, but dates are lost.
DThe file will not open because CSV cannot save dates.
Attempts:
2 left
💡 Hint
Consider what CSV files save and how Excel handles dates.
data_analysis
expert
2:00remaining
Comparing file sizes between XLSX and CSV
You have a large Excel file with 10,000 rows and 10 columns of data with formulas and formatting. You save it as XLSX and as CSV. Which statement about file sizes is true?
ACSV file is usually smaller because it saves only plain text data.
BCSV file is usually larger because it saves formulas and formatting.
CXLSX file is usually smaller because it compresses data and formatting.
DBoth files have the same size because they contain the same data.
Attempts:
2 left
💡 Hint
Think about what data each format saves and how compression works.

Practice

(1/5)
1. Which file format should you choose to save an Excel file if you want to keep all formulas, formatting, and multiple sheets?
easy
A. .pdf
B. .csv
C. .txt
D. .xlsx

Solution

  1. Step 1: Understand file format features

    .xlsx supports formulas, formatting, and multiple sheets, while .csv only stores plain data.
  2. Step 2: Match requirement to format

    Since you want to keep all Excel features, .xlsx is the correct choice.
  3. Final Answer:

    .xlsx -> Option D
  4. Quick Check:

    Full Excel features = .xlsx [OK]
Hint: Use .xlsx to keep all Excel features intact [OK]
Common Mistakes:
  • Choosing .csv and losing formulas
  • Saving as .txt which loses formatting
  • Using .pdf which is not editable
2. Which of the following is the correct way to save a file as CSV in Excel?
easy
A. File > Save As > Choose .xlsx format
B. File > Save As > Choose .csv format
C. File > Export > Choose .pdf format
D. File > Save As > Choose .txt format

Solution

  1. Step 1: Locate saving options in Excel

    To save as CSV, you use the Save As option and select the CSV format from the dropdown.
  2. Step 2: Identify the correct format choice

    Choosing .csv saves the file as comma-separated values, suitable for plain data sharing.
  3. Final Answer:

    File > Save As > Choose .csv format -> Option B
  4. Quick Check:

    Save as CSV = Save As + .csv [OK]
Hint: Save As and pick .csv to export plain data [OK]
Common Mistakes:
  • Selecting .xlsx instead of .csv
  • Using Export > PDF instead of Save As
  • Choosing .txt which is not CSV
3. You save an Excel sheet with formulas as .csv and then open it again. What will happen to the formulas?
medium
A. Formulas will be saved as text strings
B. Formulas will be preserved and editable
C. Formulas will be converted to their last calculated values
D. File will not open because CSV does not support formulas

Solution

  1. Step 1: Understand CSV format limitations

    CSV files store only plain text data, no formulas or formatting.
  2. Step 2: What happens to formulas when saved as CSV

    Excel saves the last calculated values of formulas, not the formulas themselves.
  3. Final Answer:

    Formulas become their last calculated values -> Option C
  4. Quick Check:

    CSV saves values, not formulas [OK]
Hint: CSV saves values only, formulas become static numbers [OK]
Common Mistakes:
  • Thinking formulas stay editable in CSV
  • Assuming formulas save as text
  • Believing CSV files won't open
4. You saved your Excel file as .csv but notice that some data with commas got split into multiple columns. How can you fix this issue?
medium
A. Replace commas in data with another character before saving as CSV
B. Save the file as .xlsx instead to keep data intact
C. Open CSV in a text editor and remove commas manually
D. Save the file as .txt to avoid splitting

Solution

  1. Step 1: Understand CSV comma delimiter issue

    CSV uses commas to separate columns, so commas inside data cause unwanted splits.
  2. Step 2: Fix data before saving

    Replacing commas inside data with another character (like semicolon) prevents splitting when saved as CSV.
  3. Final Answer:

    Replace commas in data before saving as CSV -> Option A
  4. Quick Check:

    Commas inside data break CSV columns, replace them [OK]
Hint: Replace commas inside data before saving CSV [OK]
Common Mistakes:
  • Just saving as .xlsx without fixing data
  • Manually editing CSV text which is error-prone
  • Saving as .txt which doesn't solve comma issue
5. You have a large Excel workbook with multiple sheets, formulas, and formatting. You need to share only the raw data from one sheet with a colleague who does not use Excel. What is the best way to save and share this data?
hard
A. Save the specific sheet as .csv and send the CSV file
B. Copy the sheet data and paste into a Word document
C. Save the entire workbook as .xlsx and send it
D. Print the sheet and send a scanned image

Solution

  1. Step 1: Identify sharing needs

    The colleague does not use Excel, so sending an Excel file may not help.
  2. Step 2: Choose a simple, widely supported format

    CSV files contain raw data and can be opened by many programs, making it ideal for sharing raw data.
  3. Step 3: Save only the needed sheet as CSV

    Saving just the required sheet as CSV avoids sending unnecessary data and keeps it simple.
  4. Final Answer:

    Save the specific sheet as .csv and send it -> Option A
  5. Quick Check:

    Share raw data simply = save sheet as CSV [OK]
Hint: Save needed sheet as CSV to share raw data easily [OK]
Common Mistakes:
  • Sending full .xlsx file to non-Excel user
  • Using Word which may lose table structure
  • Sending scanned images which are not editable