Here are some commonly used Excel commands and their functions:
Basic Commands
- Ctrl + C: Copy the selected cells.
- Ctrl + V: Paste the copied content.
- Ctrl + X: Cut the selected cells.
- Ctrl + Z: Undo the last action.
- Ctrl + Y: Redo the last undone action.
- Ctrl + S: Save the current workbook.
Navigation Commands
- Arrow Keys: Move one cell up, down, left, or right.
- Ctrl + Arrow Key: Move to the edge of the current data region.
- Home: Move to the beginning of the row.
- Ctrl + Home: Move to the beginning of the worksheet.
- Ctrl + End: Move to the last cell with data.
Formatting Commands
- Ctrl + B: Apply or remove bold formatting.
- Ctrl + I: Apply or remove italic formatting.
- Ctrl + U: Apply or remove underline formatting.
- Alt + H + H: Open the Fill Color menu.
- Alt + H + B: Open the Border menu.
Formulas and Functions
- =SUM(A1
): Adds all numbers in the range A1 to A10.
- =AVERAGE(A1
): Calculates the average of the numbers in the range A1 to A10.
- =IF(A1>10, “Yes”, “No”): Returns “Yes” if A1 is greater than 10, otherwise returns “No”.
- =VLOOKUP(value, table, col_index, [range_lookup]): Looks up a value in the leftmost column of a table and returns a value in the same row from a specified column.
- =INDEX(array, row_num, [column_num]): Returns the value of an element in a table or array, selected by the row and column number indexes.
- =MATCH(lookup_value, lookup_array, [match_type]): Searches for a specified item in a range of cells and returns the relative position of that item.
Data Manipulation
- Ctrl + T: Convert the selected range into a table.
- Alt + E + S + V: Paste Special Values.
- Ctrl + D: Fill down.
- Ctrl + R: Fill right.
Data Analysis
- Alt + A + T: Open the Filter menu.
- Alt + D + F + F: Apply or remove a filter.
- Alt + N + V: Open the PivotTable Wizard.
Useful Functions
- =CONCATENATE(text1, text2, …): Joins several text items into one text item.
- =LEFT(text, [num_chars]): Returns the specified number of characters from the start of a text string.
- =RIGHT(text, [num_chars]): Returns the specified number of characters from the end of a text string.
- =MID(text, start_num, num_chars): Returns a specific number of characters from a text string, starting at the position you specify.
Cell and Range Selection
- Ctrl + A: Select the entire worksheet.
- Shift + Arrow Keys: Extend the selection by one cell.
- Ctrl + Shift + Arrow Key: Extend the selection to the last non-blank cell in the same column or row as the active cell.
Advanced Navigation
- Ctrl + Page Down: Move to the next sheet in the workbook.
- Ctrl + Page Up: Move to the previous sheet in the workbook.
- Alt + Tab: Switch between open applications.
Row and Column Operations
- Ctrl + Space: Select the entire column.
- Shift + Space: Select the entire row.
- Ctrl + Shift + Plus Sign (+): Insert new cells, rows, or columns.
- Ctrl + Minus Sign (-): Delete the selected cells, rows, or columns.
- Ctrl + 0 (Zero): Hide the selected columns.
- Ctrl + 9: Hide the selected rows.
- Ctrl + Shift + 0 (Zero): Unhide hidden columns.
- Ctrl + Shift + 9: Unhide hidden rows.
Workbook and Worksheet Management
- Ctrl + N: Create a new workbook.
- Ctrl + O: Open an existing workbook.
- Ctrl + W: Close the current workbook.
- Alt + F + A: Save As.
- Shift + F11: Insert a new worksheet.
- Alt + H + D + S: Delete the active worksheet.
Data Validation and Protection
- Alt + D + L: Open the Data Validation dialog box.
- Alt + R + P: Protect the worksheet.
- Alt + R + U: Unprotect the worksheet.
Error Checking and Debugging
- F2: Edit the active cell.
- Shift + F3: Open the Insert Function dialog box.
- Alt + M + X: Open the Evaluate Formula dialog box.
- Ctrl + `: Show or hide formulas.
Printing
- Ctrl + P: Open the Print dialog box.
- Alt + F + P + S: Open the Page Setup dialog box.
- Alt + P + P: Open the Print Preview window.
- Ctrl + F2: Print Preview.
Conditional Formatting
- Alt + O + D: Open the Conditional Formatting Rules Manager.
- Alt + H + L + N: Create a new rule.
- Alt + H + L + E: Edit the selected rule.
- Alt + H + L + D: Delete the selected rule.
Charts and Graphs
- Alt + N + C: Insert a Column Chart.
- Alt + N + L: Insert a Line Chart.
- Alt + N + P: Insert a Pie Chart.
- Alt + N + B: Insert a Bar Chart.
- Alt + N + S: Insert a Scatter Chart.
- Alt + J + C + R: Change the chart type.
Special Functions
- =TEXT(value, format_text): Convert a value to text in a specific number format.
- =ROUND(number, num_digits): Round a number to a specified number of digits.
- =SUMIF(range, criteria, [sum_range]): Sum the values in a range that meet a criteria.
- =COUNTIF(range, criteria): Count the number of cells in a range that meet a criteria.
- =PMT(rate, nper, pv, [fv], [type]): Calculate the payment for a loan based on constant payments and a constant interest rate.
- =LEN(text): Return the number of characters in a text string.
- =TRIM(text): Remove all spaces from text except for single spaces between words.
Data Analysis Tools
- Alt + A + E: Open the Text to Columns wizard.
- Alt + A + Q: Open the Remove Duplicates dialog box.
- Alt + A + M: Open the Data Model view.
- Alt + N + T: Open the PivotTable and PivotChart Wizard.
- Alt + D + G: Open the Group and Outline settings.
Excel Macros
- Alt + F8: Open the Macro dialog box.
- Alt + F11: Open the Visual Basic for Applications editor.
- Alt + F11, F5: Run the current macro in the VBA editor.
PivotTables
- Alt + N + V: Create a PivotTable.
- Alt + J + T + F: PivotTable Field List.
- Alt + J + T + P: PivotTable Options.
Time-Saving Tips
- Ctrl + ;: Insert the current date.
- Ctrl + Shift + :: Insert the current time.
- Ctrl + Shift + $: Apply currency format.
- Ctrl + Shift + %: Apply percentage format.
- Ctrl + Shift + #: Apply date format.
Collaboration and Sharing
- Alt + R + S: Share Workbook.
- Alt + R + M: Add a comment.
- Alt + R + T: Track Changes.
- Alt + W + I: Freeze Panes.
Advanced Functions
- =INDIRECT(ref_text, [a1]): Returns the reference specified by a text string.
- =OFFSET(reference, rows, cols, [height], [width]): Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.
- =CHOOSE(index_num, value1, [value2], …): Returns a value from a list of values based on a specified position number.
- =ARRAYFORMULA(formula): Enables the use of array formulas, allowing you to perform multiple calculations in one go.
- =TRANSPOSE(array): Converts a vertical range of cells to a horizontal range, and vice versa.
- =ARRAYFORMULA(formula): Perform calculations over an entire range of data rather than a single cell.
Data Analysis Tools
- Alt + T + I: Open the Solver Add-In.
- Alt + A + Y1: Perform a data analysis with the Analysis ToolPak.
- Alt + N + D: Insert a Data Table.
Power Query and Power Pivot
- Alt + A + P + R: Open the Power Query Editor.
- Alt + N + V + T: Add a new table to Power Pivot.
- Alt + N + Z: Insert a Power Map.
Advanced Charting
- Alt + N + G: Insert a Treemap Chart.
- Alt + N + K: Insert a Combo Chart.
- Alt + N + F: Insert a Funnel Chart.
- Alt + N + I: Insert a Histogram Chart.
3D Maps
- Alt + N + V + R: Open 3D Maps.
- Alt + N + M: Add a Map Chart.
Sparklines
- Alt + N + S + S: Insert Sparklines.
- Alt + N + S + O: Insert a Sparkline Column.
- Alt + N + S + W: Insert a Win/Loss Sparkline.
Advanced Formulas and Array Formulas
- Ctrl + Shift + Enter: Enter an array formula.
- =SUMPRODUCT(array1, [array2], …): Multiply corresponding components in the given arrays, and return the sum of those products.
- =MMULT(array1, array2): Returns the matrix product of two arrays.
Dynamic Arrays and Functions (Excel 365)
- =UNIQUE(array): Returns a list of unique values in a list or range.
- =FILTER(array, include, [if_empty]): Filters a range of data based on criteria you define.
- =SORT(array, [sort_index], [sort_order], [by_col]): Sorts the contents of a range or array.
- =SEQUENCE(rows, [columns], [start], [step]): Generates a list of sequential numbers in an array.
- =RANDARRAY([rows], [columns], [min], [max], [whole_number]): Returns an array of random numbers.
Advanced Macros
- Alt + F8: Open the Macro dialog box.
- Alt + F11: Open the VBA Editor.
- Alt + F11, F5: Run a macro in the VBA Editor.
- Ctrl + Shift + F11: Insert a new module in VBA.
Slicers and Timelines
- Alt + N + S + L: Insert a Slicer.
- Alt + N + S + T: Insert a Timeline.
Add-Ins
- Alt + T + I: Open the Add-Ins dialog box.
- Alt + F + T + A: Manage Excel Add-Ins.
Tips and Tricks
- Quick Analysis Tool (Ctrl + Q): Analyze data quickly by selecting a range and using the Quick Analysis tool.
- Flash Fill (Ctrl + E): Automatically fill in data based on a pattern you provide.
- Format Painter (Ctrl + Shift + C / Ctrl + Shift + V): Quickly copy formatting from one place to another.
- Data Validation Lists: Create drop-down lists using Data Validation (Alt + D + L).
- Name Ranges (Ctrl + F3): Define and manage named ranges for easier reference in formulas.
Custom Views
- Alt + W + I: Open the Custom Views dialog box.
- Alt + W + I + A: Add a new custom view.
- Alt + W + I + S: Show a custom view.
Hyperlinks
- Ctrl + K: Insert a hyperlink.
- Alt + N + H: Open the Insert Hyperlink dialog box.
Collaborative Tools
- Alt + R + S: Share Workbook.
- Alt + R + M: Add or view comments.
- Alt + R + T: Track Changes.
Protecting Data
- Alt + R + P: Protect the current worksheet.
- Alt + R + U: Unprotect the current worksheet.
- Alt + T + P + S: Protect the workbook structure.