Essential Excel Skills Every Data Analyst Needs
In this article
Mastering these core Excel abilities lets you clean, transform, and visualize data efficiently, forming the foundation for deeper analysis and reporting.
What You’ll Need
- A recent version of Microsoft Excel (Excel 2016 or later recommended)
- Basic familiarity with the Excel interface
- Sample dataset for practice – for example a CSV of sales transactions containing order ID, date, product, quantity, price, and customer name
Step‑by‑Step
- Learn and use keyboard shortcuts. Speed up navigation and actions by memorising Ctrl+C, Ctrl+V, Ctrl+Z, Ctrl+Arrow, Ctrl+Shift+L for filters, and Ctrl+Page Up/Down to move between sheets. These shortcuts reduce mouse dependence and keep your workflow fluid.
- Format data as tables. Select your range and press Ctrl+T. Excel will prompt you to confirm the range and whether the table has headers. Once confirmed, the data gains automatic filtering, structured references, and expands automatically when you add new rows. This prevents broken formulas that often occur when you insert rows into a plain range.
- Apply basic formulas and functions. Use
=SUM()to total a column of quantities,=AVERAGE()for price averages,=IF()to flag high‑value orders, and=VLOOKUP()or the newer=XLOOKUP()to retrieve customer details from a separate lookup table. Practice by creating a column that calculates total revenue per row with=Quantity*Priceand then summarising it with=SUM(). - Leverage data cleaning tools. Remove duplicates via Data ► Remove Duplicates, split columns with Text to Columns when a field contains multiple pieces of information, and trim extra spaces with
=TRIM(). For example, if a “City” column contains trailing spaces,=TRIM(A2)cleans it, preventing mismatches in lookup operations. - Use PivotTables for summarisation. Insert ► PivotTable, select your table as the source, and place the wizard on a new sheet. Drag “Product” to Rows, “Quantity” to Values (set to Sum), and “Region” to Columns to see sales by region and product. You can quickly change aggregation functions by clicking the dropdown on the Values field and selecting Count, Max, or Average.
- Create charts for visual insight. Highlight a PivotTable or a clean data range and choose Insert ► Chart. Try a clustered column chart to compare monthly sales, a line chart to view trends over time, or a scatter plot to examine the relationship between order size and discount. Use chart tools to add data labels, adjust axis scales, and apply a consistent color palette.
- Explore Power Query for data transformation. In the Data tab, select Get & Transform Data ► From Table/Range. The Query Editor appears, offering steps such as Filter Rows, Remove Columns, Pivot Column, and Group By. For instance, if your raw log contains a timestamp with timezone info you don’t need, you can filter it out, then use Change Type to convert the remaining column to a date type, and finally load the cleaned data back into Excel.
- Master basic conditional formatting. Highlight a range of revenue values and apply a rule such as “Greater Than” 10000 to colour high‑value rows green. You can also use data‑bars to visualise magnitude directly in the cells, or set a rule to highlight duplicate order IDs in red. These visual cues help you spot anomalies without scanning tables manually.
- Protect and document your work. Use Review ► Protect Sheet to lock cells that contain formulas, allowing only designated users to edit input cells. Add comments or notes to explain complex formulas, and keep a separate “Read‑Me” sheet that lists data sources, transformation steps, and any known limitations.
Concrete Example Walkthrough
Suppose you receive a CSV export from an e‑commerce platform with the following columns: OrderID, OrderDate, CustomerName, Product, Quantity, UnitPrice, Discount. Follow these steps to produce a revenue summary:
- Open the file and press Ctrl+T to convert it into a table named
tblSales. Ensure the “My table has headers” box is checked. - Add a new column called
Revenueand enter the formula=[@Quantity]*[@[UnitPrice]]*(1-[@Discount]). Excel will automatically fill the formula down the column because the range is a structured table reference. - Insert a PivotTable on a new sheet using
tblSalesas the source. DragProductto Rows,Revenueto Values (set to Sum), andOrderDateto Columns (group by months). This produces a matrix showing revenue per product for each month. - Apply conditional formatting to the Revenue column of the PivotTable: select the values, go to Home ► Conditional Formatting ► Data Bars, and choose a gradient that ends in dark green for the highest values.
- Create a clustered column chart from the PivotTable to visualise monthly revenue trends. Right‑click the chart, choose Select Data, and add a secondary axis if you want to overlay the count of orders.
- Save the workbook with a versioned name (e.g.,
Sales_Analysis_v1.xlsx) and protect the sheet that contains formulas.
Additional Section: Working with Dates
Dates are often stored as text or mixed formats, causing errors in calculations. To standardise them, select the date column, use Text to Columns with the appropriate delimiter, then apply Data ► Text to Columns ► Date to convert the text to true Excel date values. Once converted, you can use functions such as =YEAR(), =MONTH(), and =NETWORKDAYS() to extract parts or calculate working days between two dates. Verify the conversion by checking a few cells with Ctrl+Shift+~ to view the underlying serial number; it should be a whole number representing days since 1900.
Additional Section: Auditing Formulas
When a formula returns an unexpected result, use Excel’s built‑in auditing tools. Click Formulas ► Trace Precedents to see which cells feed into the active cell, and Trace Dependents to see where the result is used. The Error Checking button highlights common issues like #DIV/0! or #VALUE!. If a lookup returns #N/A, examine the lookup value’s data type; use =ISNUMBER() or =ISTEXT() to confirm it matches the source column. Adjust the formula accordingly, for example by wrapping =IFERROR(VLOOKUP(...), "Not Found") to provide a fallback message.
Common Mistakes
- Copy‑pasting large ranges without converting to tables, leading to broken formulas when rows are added.
- Using volatile functions like
=NOW()unnecessarily, which slows performance on big workbooks. - Over‑relying on
=VLOOKUP()when=XLOOKUP()or=INDEX/MATCHoffers more flexibility and better error handling. - Neglecting to lock cell references with $ when copying formulas across rows or columns, causing references to shift unexpectedly.
- Leaving extra spaces or non‑printing characters in lookup keys, which cause mismatches even when the visible text appears identical.
Tips
- Keep a separate “raw data” sheet untouched; perform all transformations on copies to preserve the original dataset.
- Use named ranges to make formulas readable and maintainable; for example, name the Quantity column as
Qtyand refer to it as=SUM(Qty). - Regularly audit formulas with Formulas ► Error Checking to catch #REF! and #VALUE! errors early.
- Save frequently and enable AutoRecover to protect against crashes; consider using OneDrive or SharePoint for automatic versioning.
- When working with large datasets, switch to Power Query’s “Enable Load” off and keep the data in the Query Editor only for transformation, then load a smaller, aggregated version back to Excel for visualization.
Troubleshooting
If a PivotTable does not update after adding new rows, ensure you have refreshed it: click anywhere inside the PivotTable and choose Data ► Refresh All. If a chart appears blank after refreshing, verify that the underlying data range still includes the new rows; you may need to convert the source to a table so the chart expands automatically. When Power Query fails to load a CSV file, check the file path for typos, ensure the file is not locked by another program, and confirm that the delimiter used in the import step matches the file’s actual separator (comma vs. semicolon).