Sub topic 6
Opening and Converting Excel Workbooks
Assume you already know how to create sheets, upload files to Google Drive, and distinguish an Excel workbook from a CSV file. This chapter focuses on converting an .xlsx or .xls workbook into a native Google Sheets file and checking what changed.
An Excel workbook is a file that can contain multiple worksheets, formulas, formatting, charts, named ranges, macros, and other features. Google Sheets can open many Excel workbooks, but it does not support every Excel feature. Opening a workbook and converting it are related but different actions.
Open an Excel workbook without converting it
Upload the workbook to Google Drive, then double-click it. Drive opens the file in Google Sheets compatibility mode. The original file remains an Excel file, and its filename usually keeps the .xlsx or .xls extension.
This approach is useful when you need to inspect the workbook or make a small edit while preserving the original format. However, some Sheets features may be unavailable until you convert the file.
To convert the workbook:
- Open the Excel file in Google Sheets.
- Select File > Save as Google Sheets.
- Wait for Google Sheets to create a new file.
- Confirm that the new file has the Google Sheets icon and format.
- Keep the original Excel file as a backup until you verify the conversion.
The converted file is separate from the original. Changes made to the Google Sheets copy do not update the Excel file automatically.
What can change during conversion
Google Sheets translates Excel formulas and workbook structures into its own format. Common formulas usually convert correctly, but specialized functions can behave differently. Check formulas that use Excel-only functions, external workbook links, structured table references, or advanced array behavior.
Formatting can also change. Review merged cells, conditional formatting, print settings, charts, pivot tables, data validation, and hidden rows or columns. A workbook may look similar while containing subtle changes in layout or behavior.
Macros require special attention. Excel macros use Visual Basic for Applications, or VBA, which Google Sheets does not run. Google Sheets automation uses Apps Script instead. A converted workbook may keep some macro-related content, but the VBA procedures will not operate as Excel macros.
| Excel feature | What to check after conversion |
|---|---|
| Formulas | Errors, changed function behavior, and external references |
| Charts | Series, labels, axis formatting, and source ranges |
| Pivot tables | Filters, calculated fields, and grouping |
| Macros | Whether automation must be rewritten in Apps Script |
| Formatting | Merged cells, number formats, print areas, and hidden content |
A safe conversion workflow
Use a copy when the workbook is important or shared with others.
- Make a backup of the original Excel file.
- Open or duplicate the workbook in Drive.
- Convert the duplicate to Google Sheets.
- Compare sheet names, row counts, formulas, and key totals.
- Test charts, filters, pivot tables, and validation rules.
- Ask users to test workflows that depend on macros or external links.
- Rename the converted file so its status is clear.
Use version history in Google Sheets to inspect changes after conversion. If the conversion produces unacceptable results, return to the original Excel file and try a different workflow rather than repeatedly editing the damaged copy.
Choosing between Excel and Google Sheets
Keep the workbook in Excel when it depends heavily on VBA, Excel-specific add-ins, advanced data models, or exact Excel print output. Convert it when you need real-time collaboration, browser access, Google Sheets formulas, or integration with other Google Workspace tools.
The best choice depends on the workbook's important features, not only its file extension.
Exercise
You convert an Excel workbook and the cells look correct, but a button that ran a VBA macro no longer works. What should you do?
Show answer
Keep the original Excel file, confirm that the button depends on VBA, and rewrite the required automation in Google Apps Script if the workbook must operate in Google Sheets.