Ravindra BagaleCourses & study guides मराठी Track your progress

25. All Excel Keyboard Shortcuts (Windows and Mac)

Excel

25.6 Tables, Filter and Data Shortcuts

1. Control which rows a table or report includes

Your fictional delivery team wants a fast view of orders placed in Pune. The original ten records contain four Pune orders, including one cancellation. A filtered table gives ₹544 for the four requests. If you also select Delivered, the view gives ₹324 across three deliveries. Keyboard commands make it quicker to build the view, but the table’s accepted rows and the filter criteria determine the output. Capture those facts before you share a number.

Use the original nine-column Orders worksheet from the function reference. The ten accepted records sit in A2:I11. City is column C, Amount is G and Status is I. This is the full worksheet layout, whereas the final capstone uses a shorter layout. Keep a practice copy so you can test an edited city, sort order and new row without changing the source definition.

Decide which kind of update the report needs

  • Create a table. Assign the accepted rows and headings to an Excel Table. Inspect its defined boundary and record count.
  • Filter a view. Use a City or Status condition to narrow the visible records. Confirm the active settings before using a visible-total formula or exporting.
  • Reapply a view. After editing an eligible input, ask Excel to apply the current sort or filter rules again. This checks the current workbook input against the same rules.
  • Refresh a source. If a query reads a file or connection, fetch data through that approved source path. Compare the updated loaded table against independent checks.

2. Compare the main table and data commands by client

Read the selected object before opening the command

Windows and Mac desktop Excel shortcuts and fallbacks
ActionWindowsMac
Create TableCtrl+T or Ctrl+LCommand+T or Control+T
Toggle filter arrowsCtrl+Shift+L, or Data › FilterCommand+Shift+F or Control+Shift+L
Open the selected field’s listAlt+Down Arrow in the filter headerOption+Down Arrow
Reapply after data changesCtrl+Alt+L where supported, or Data › ReapplyUse Data › Reapply or the corresponding Sort and Filter command.
Open Sort dialogData › Sort, or follow the visible ribbon tipsCommand+Shift+R
Quick AnalysisCtrl+Q with data selectedUse the supported analysis, chart or format controls if the Windows feature is unavailable.
Flash Fill from examplesCtrl+E or Data › Flash FillData › Flash Fill, or Control+E in supported Excel.
Open Power Query EditorAlt+F12 where supportedOption+F12 where supported, or Data › Get Data.
Show or hide outline symbolsCtrl+8Control+8
Group or ungroup selected worksheet rows or columnsData › Outline › Group or UngroupCommand+Shift+K or Command+Shift+J where documented, or use the corresponding menu commands.
Refresh data for a selected source or current worksheetData › Refresh for a selected source. Microsoft also documents worksheet Ctrl+F5 in its refresh context.Use the query table’s Refresh command or the applicable Data Refresh option.
Refresh all workbook dataCtrl+Alt+F5 or Data › Refresh AllData › Refresh All for the documented supported sources.

Check the actual selected cell and field. An arrow combination on a cell with validation can open the validation choices. On a filter header it can open the field filter. In formula editing it can behave differently. When keyboard access depends on the ribbon, use the visible command and review its current context. The technique is useful only if you know which object you are about to change.

3. Create the original ten-row source table

Verify that one header identifies each field

Select A1:I11 and use the platform’s Create Table command. Inspect the proposed range and indicate that the data has headers. There are nine fields and ten data rows. Give the table a distinguishable name such as OrdersTable. Use the Table Design tab or the corresponding supported Mac control. Keep the full header Amount and each Order ID present. A similar-looking rectangle painted with alternating fills can still be an ordinary range, so check the actual table controls and name.

Headers define what a structured reference reads. For example, =SUM(OrdersTable[Amount]) uses the numeric data cells of the named Amount column. Reconcile it to ₹2,870 with the original ten rows. Creating the table does not change the accepted orders. If a summary formula was previously placed just below the data, check that it is outside the source selection when creating the table. An accepted amount field should not include its own summary as an order record.

Check the intended way that the table grows

Excel Tables can extend when you add rows using supported table behavior. Verify the new row is actually inside the table before relying on an updated structured reference. If the table has a Total Row, use the appropriate table-row insertion so new inputs remain in the detail area rather than the summary. In a disposable case, add BLK-1011 as an extra Pune Delivered order for ₹75, using the approved values for the other fields. The new accepted count is 11 and the full amount becomes ₹2,945. Check both before drawing a conclusion about the updated view.

After reapplying Pune, the expanded table contains five qualifying requests worth ₹619. With both Pune and Delivered, four records qualify and total ₹399. If the total remains ₹544 for Pune after the added order, inspect the actual target table and source range. The row may sit outside the Table or its City value might contain an extra space. A filtered report can pass the original check before the new row arrives and still need an update test.

4. Filter the worksheet view in a traceable order

Choose one field and verify its active selection

With the clean original table, select the City header C1. Open its filter list using Alt plus Down on Windows or Option plus Down on Mac. The options depend on the enabled filter and client. Use the visual or announced label to verify that this is City. Clear unrelated checks as needed and choose Pune, then apply. The four expected records appear below.

Original Pune view after selecting City
Order IDStatusAmount ₹
BLK-1001Delivered64
AMN-1003Delivered110
BLK-1006Delivered150
BLK-1009Cancelled220
Visible totalFour records544
All ten orders total 2,870 rupees. The four Pune orders total 544, and the three Pune deliveries total 324.
Adding the Status filter changes the scope again. Track each change by the accepted rows and their amounts.

Now select Status and apply Delivered. BLK-1009 no longer qualifies. The other three Pune amounts remain and total ₹324. Applying filters on two columns commonly narrows the existing view to records meeting both conditions. Selecting two values in one field can allow either displayed value in that field. Verify which buttons show active filters. A visible report can show a very small subset even when the source contains hundreds of accepted records.

Give each total a name that matches its scope

Enable a Total Row and set the Amount calculation to Sum. Verify the generated formula. Excel’s default Total Row aggregations often use SUBTOTAL. A generated SUBTOTAL(109,[Amount]) is a visible-row sum under its documented rules. The same operation can be written in an external check cell that references the named Amount field. Ordinary SUM across the table still totals the accepted source values. If the workbook must show both scope types, give them separate labels and test clearing all filters.

=SUM(OrdersTable[Amount])
=SUBTOTAL(109,OrdersTable[Amount])
=SUMIFS(OrdersTable[Amount],OrdersTable[City],"Pune",OrdersTable[Status],"Delivered")

With all original rows shown, the first two give ₹2,870. With the Pune filter alone the second gives ₹544 and the first remains ₹2,870. In both cases the third evaluates explicitly defined City and Status conditions and returns ₹324. With both view filters applied, the second also returns ₹324. Two formulas can agree in one view and diverge after changing the view. Write whether the measure follows the current display or the business scope.

5. Sort complete records and keep their identity

Use values of a consistent type in the sort field

Clear the filters before testing the original all-orders sort. Choose the Amount field inside the table and sort numerically largest to smallest. The largest order is BLK-1007 from Solapur for ₹1,299, followed by BLK-1002 for ₹270, and the smallest is BLK-1001 for ₹64. Check the ID, City and Status on those rows. Sorting preserves each record when Excel moves the complete table row. Sorting a standalone amount column without the other fields can keep the same overall sum while breaking row identity.

If a reported number appears near the wrong end of the list, check its actual type. A text representation of 1299 can be treated differently from numeric 1299 by the sort. Text labels, mixed locale strings and actual numeric values can all appear in one imported column. Use a complete acceptance check before choosing a numeric sort. Preserve the raw value, convert it under the approved rule and verify the expected first and last record.

Set secondary sorting only when it helps answer the question

For a city review, try sorting first by City and then by Amount descending inside each city. In the Pune group the amounts are 220, 150, 110 and 64. The first Pune record BLK-1009 is cancelled. If you hope the highest amount represents the highest actual delivery, apply the status rule first. In delivered Pune the largest is BLK-1006 at ₹150. A sort changes the order of the visible records, and the filter chooses which records are eligible. Test both when reporting a top item.

Use an explicitly documented order for ties. A secondary Order ID sort can make the report reproducible when two amounts are equal. A sorted row position can move even without any new records, so report by the source key if the job is to find one order again. Verify broad sums after sorting and inspect known record–amount pairs. Reordering and reclassifying data are separately observable effects.

6. Reapply current rules after a controlled edit

Test a changed classification without changing its amount

In a copy, keep the same ten order amounts and change the City on BLK-1009 from Pune to Nashik. This represents a hypothetical approved correction. Open the existing Pune view and use the supported Reapply command, such as the documented Windows data command or the visible Sort and Filter route. A reapply operation reevaluates the current sort or filter rules for the current data. Look at the actual visible records instead of assuming the button’s label proves a new result.

After applying only the Pune view, expect three qualifying records and ₹324. Its current delivered view also shows three and ₹324 because the removed Pune record had been cancelled. The amount across all original records is still ₹2,870. Nashik’s requests increase from ₹360 to ₹580 in the correction copy, and Nashik’s delivered amount remains ₹360. The change altered membership in two cities without changing any transactions’ money. A full reconciliation needs both overall and named-scope checks.

Restoring the City to Pune and reapplying should return four requests and ₹544. When you clear all filters instead, the full table should display all ten orders. A Reapply command keeps the same rules. A Clear Filter action changes which view conditions are active. Tell the reviewer which action you performed. If another filter remains active on Status, clearing only City could still leave that condition and show seven delivered rows rather than all ten.

Inspect outline grouping separately from record filtering

A worksheet outline helps collapse or expand selected rows or columns. Grouping does not assign a business status or duplicate an order. Try a practice block with rows 3 through 5 grouped to make the view shorter. Verify the displayed outline controls and restore them afterward. The outline-toggling command changes whether Excel shows the outline symbols. Clearing a City filter may still leave manually hidden or collapsed details outside the current visible subtotal. Check all visibility settings before reconciling an export.

Quick Analysis can propose formats, calculations or charts on supported Windows clients after selecting data. Review the proposed output and source before committing it. Flash Fill infers a pattern from examples, which serves a different purpose. For creating a recurring report, a saved query or formula can make a transformation verifiable after inputs change. An accepted output should describe which steps depend on worksheet UI and which steps are stored as reusable definitions.

7. Refresh a connected source and compare the actual receipt

Check connector capabilities and file ownership

Power Query reads and transforms data from a configured source, such as a local CSV. Opening the editor exposes the saved steps and queries, where supported. The ribbon path works as an alternate to the editor shortcut. Windows and Mac support options and connectors can differ, and Excel for the web has its own current limits. Follow the documentation for the exact build and allowed source. A file path on another user’s computer is not automatically a reachable source on yours.

Reapply is useful when a table’s own rows have been edited. Refresh is the command for a connected source. Changing a file in its original location does not automatically prove the workbook imported it. Use the intended refresh operation, inspect completion and compare a known source change. Refresh All can run more than one configured connection. If you only need to check a single scratch query, refresh that source or table using the available command. Confirm what was refreshed and where its results loaded.

Reapply a filter works with existing rows. Refresh reads a configured input. Verify the loaded count and amount before trusting a result.
A report refresh starts with the approved source, proceeds to the loaded table and ends with the current view and calculations.

Build a small local receipt you can independently test

If you have an Excel client with a supported local Text/CSV connector, save this fictional text in a temporary folder as a CSV. Keep the path specific to the practice copy. Use a separate file from the full order workbook. Read the column types and load the query to its own worksheet table. If the connector is unavailable, copy the example into a practice worksheet and calculate the controls manually.

OrderID,City,Amount,Status
TR-101,Pune,100,Delivered
TR-102,Nashik,80,Delivered
TR-103,Pune,50,Cancelled

Expect three stored records and ₹230. With only Pune selected, the table shows ₹150 across two records. Pune Delivered gives ₹100. In your disposable file change only TR-101 from 100 to 120, save it and refresh the connected table through its actual query. Verify three rows, ₹250 overall, Pune ₹170 across both statuses and Pune Delivered ₹120. A sidebar or status reapplication alone cannot bring the new file value into an old worksheet copy. A success marker without the expected value can mean the wrong source path is still configured.

In a second trial, add TR-104 for Nashik Delivered at ₹40. After the accepted update, the loaded source should contain four rows, ₹290 in total and ₹120 across two Nashik deliveries. Pune remains ₹170 with both statuses and ₹120 for Delivered. Compare the stored source counts and known record values before applying final filters. If a query step removes a row or changes the source’s header names, inspect that step and its expected transformations. Return the practice file to its original three rows after recording what happened.

8. Check the original Pune view through four stages

Preserve the original source and apply an intentional filter

  1. Select A1:I11

    Verify the header row and ten original orders. The all-data sum is ₹2,870.

  2. Create the named Table

    Confirm the header option. Open the City field filter and identify its current selection.

  3. Check Pune and apply Status if needed

    All Pune requests give ₹544. Pune deliveries give ₹324. Confirm the cancelled order according to the intended report definition.

  4. Verify the source and update route

    Reapply after a deliberate sheet edit, or refresh an approved connection for new external input. Compare the exact changed value.

9. Test one input table and one connected receipt

Lab A — Filter, amend, reapply and restore

  1. Recreate the nine-field table from the original fixture. Confirm ten detail rows plus one header. Enable a Total Row and record the type of Amount formula it uses.
  2. Filter to Pune and verify the four IDs. Confirm the visible sum ₹544 and all-row amount ₹2,870. Add Delivered and observe ₹324 across three.
  3. In a disposable copy, clear the filter long enough to locate BLK-1009. Change its City to Nashik, apply or reapply the Pune condition and clear the Status condition for the all-Pune test. Verify the new three-record ₹324 view and Nashik all-status ₹580.
  4. Restore BLK-1009 as Pune. Clear the filters and sort the whole table by Amount descending. Verify the top three amounts 1299, 270 and 240 and review the corresponding IDs. Confirm the numeric sum stays fixed across the complete sort.
  5. Use a separate copy to insert the accepted test order BLK-1011 inside the table. Check all-row amount ₹2,945 and new 11-record count. Test Pune and Delivered again before closing the temporary worksheet.

Expected evidence. You can identify which command changed current view, which step changed source membership and which results followed. Original and changed states have independent count and amount checks.

Lab B — Test a local CSV change against a known query

  1. Use the temporary three-record receipt above. If using the supported connector, save a local copy and connect explicitly to its path. Load the accepted columns to a separate worksheet table. For a manual version, mark each incoming row and compute the same checks.
  2. Verify total ₹230 and three records. Select Pune and record ₹150 before proceeding. Note the source file name and expected header.
  3. Change TR-101 to 120 and save the temporary source file. Inspect the currently loaded table before requesting the intended refresh. On refresh or a manual reload, verify ₹250 and the new amount on the exact record.
  4. Add TR-104 at ₹40 and repeat. Confirm four records and ₹290 overall, with the intended unchanged and changed city figures. Inspect the actual loaded count if the reported record did not appear.
  5. Restore or close the practice inputs and clear temporary filters. Prepare a short note identifying the source version, refresh effect, current filter and confirmed outcome.

Expected evidence. Changing a local file and changing a worksheet filter are separate operations. The refreshed table includes the expected edited row and entirely new order only after they are accepted through the intended source route.

10. Diagnose filter scope, data type and stale connections

Change one condition at a time and record the exact rows

After clearing the Status filter, use a number condition of Amount at least ₹100 alongside the Pune condition. The matching amounts are 110, 150 and 220, totaling ₹480 across three records. The original fourth Pune amount of ₹64 fails that numeric condition. When you add the Delivered condition, the cancelled ₹220 is removed, leaving ₹260 across two records. Capture the exact order IDs before drawing a conclusion about which filter is active. Different combinations can produce the same number of rows with different content.

Clear City while retaining Status Delivered and set Amount at least ₹200. The three expected delivered amounts are 270, 232 and 1299, giving ₹1,801. If a user wants a top-three view across all orders, first clear the existing filters and verify what “top” means. In the original full data, the highest three are 1299, 270 and 240, giving ₹1,809. The highest paid tier and highest booked order values can differ because actual order Status matters.

The worksheet filter can combine multiple choices within one column using their documented condition logic. Test whether you are matching either the checked city names or enforcing two independent conditions in two fields. For example, checking Pune and Nashik in City admits six original records across all statuses and totals ₹904. Adding Delivered to that selection leaves five records worth ₹684. Keep these filters visible and label the exact business question.

Identify missing or duplicated source rows even when the view appears correct

For the CSV practice, the updated four-row file should total ₹290 after you change TR-101 and add TR-104. If someone also appends the updated TR-101 twice, the table can contain five records and ₹410, with only four distinct Order IDs. The business grain in this fixture allows one row per order. A duplicated customer reference would be a different matter. Check the actual receipt count and key uniqueness and read the accepted source version before forcing a filter refresh or removing a duplicate. Compare each accepted record explicitly.

Sometimes a refresh completes but a query loaded only some fields, converted an amount to text or removed a row with a step that was intended for a previous dataset. Verify the query results against the source record and type. Start by checking one changed ID and the expected Amount, then count all loaded rows. In a live process preserve a record of rejected rows. A filter that focuses on Pune still cannot prove that all Nashik records were received.

Confirm which object should remain live for later updates

An extracted copy used for a release can preserve the approved point-in-time values. A table that still references the source can update when it receives new data. The difference matters when someone opens the workbook a week later and expects to see the latest orders. Label a pasted extract with the approval date and scope. For a maintained query output, document the actual source path and current refresh time. A formula that ignores manually hidden rows remains useful only if the reader knows which view it represents.

When copying a formatted worksheet to a different workbook, test whether its structured references point to the expected table. A copied report can work visually even before the right source is connected. Open the referred workbook or query settings where appropriate and verify the accepted launch steps. Avoid assuming a keyboard refresh will repair a missing connection or rewrite an intended source path. Check what the intended connection can access and whether the local or team source is still the approved one.

Respond to common data-command mismatches

  • Filter arrows appear on the wrong row. Inspect the Create Table range and header setting. Repair the source boundary before interpreting any subset.
  • The Total Row suddenly includes too much or too little. Inspect the function and reference. Distinguish a business SUMIFS and a visible SUBTOTAL, and verify whether another filter or manual hiding remains.
  • The updated input order appears on the sheet yet is absent from a structured formula. Confirm whether the data row belongs to the actual Table, and whether its typed City and Amount match the accepted rule.
  • Reapply did not fetch an updated file. Check the source connection and use the supported refresh command. Reapply evaluates current view rules on current worksheet rows.
  • Some new rows sort unexpectedly. Check numeric storage, headers and complete-row sorting before correcting the report, and validate known keys after the change.

Choose a stable field when a filter list has similar labels

Consider a copy with a city spelled Pune plus one trailing space. It can look identical to Pune in the grid and behave as a different text value in some source and matching operations. Inspect the raw string and approved city list before changing the label. Use a helper column or Power Query to normalize the value deliberately where the source rule permits it. Filter the original City field and the proposed clean City field separately to compare the accepted record sets. A desired Pune total is not proof that a correction was authorized. Check the affected Order ID and meaning of its city.

Another temporary fault might put a number in a column intended to hold text statuses. The filter list can still show available values, and a formula or sort can interpret them differently. Confirm what the field is supposed to represent before grouping or selecting a numeric condition. An Excel Table preserves headers and scope but does not independently enforce every declared field type in its underlying source. Use explicit data-type checks in the import or marked worksheet when the report depends on typed amounts and dates.

Verify a date filter with real calendar dates

The original nine-field source covers November 2 through 8, 2026. Apply an inclusive date filter for November 3 through 4 on the genuine Date column. It should keep AMN-1003 and BLK-1004 on November 3 and AMN-1005 and BLK-1006 on November 4. Their amounts are ₹110, ₹240, ₹232 and ₹150, for a total of ₹732. The four rows include a cancelled record. Applying Delivered as a separate condition gives three records and ₹492. If you find less data than expected, inspect the exact dates and current filter state before editing the source.

A date can look similar to a text-formatted entry even when Excel cannot recognize it as a date. Apply a date filter only after checking the source type and date interpretation. One field can also include an actual timestamp, in which case you need a clearly defined inclusive date window or a properly chosen end boundary. Use an agreed date-only field or documented time comparison. For the original sample, the dates are day-level and make an easy test of the inclusive range.

Check the controlled source after changing view settings

Save a practice workbook with a visible label for the active view. Switch between no filters, City-only, Status-only and both for the original order list. The count and value pairs are 10 and ₹2,870 for all, four and ₹544 for Pune, seven and ₹2,215 for Delivered, and three and ₹324 for Pune delivered. A repeated viewer can use those four checks to identify a hidden condition. For example, the reported ₹2,215 can be a correct delivered figure even when the user meant all requests. It is a scope question until you inspect the filter.

Test the two possible update states separately in the scratch query. If source refresh succeeds but the result is still filtered to only selected rows, inspect the original loaded total in a separate all-data formula. A new Nashik order could increase the all-data sum without changing a Pune figure. If a source variable points elsewhere, neither the full amount nor the intended affected order will change. Record one positive affected control and one unaffected control to distinguish both cases in a teammate’s report.

Preserve the original output when a report should stay historic

A dated report can require archived results even after later source corrections. Decide whether the deliverable is a connected workbook or a reviewed static extract. Keep a meaningful note about how the report reads its source. If the report promises the previous day’s approved data, a fresh import should not silently replace it without review. If the report promises the most recent approved receipt, record the refresh operation and confirm the newly approved rows. A view shortcut, import routine and release process each serve a different goal.

For the lesson, keep the original Accepted Orders workbook intact. Save a separate evidence note for the table insertion and correction-copy results. Include source and destination names, order counts, visible filter state and the specific changed amount. Verify that the controlled updates are reversible before moving on to the chart lesson. This simple log lets you reproduce the accepted report even after a test changes the ordering or adds a new city member. Label the practice workbook with its last confirmed receipt.

11. Explain the command and verify its outcome

Quick checks

1. What does selecting Pune return before applying a Status filter?

Four records worth ₹544. The cancelled BLK-1009 contributes ₹220 and is eligible under the city-only view.

2. What changes when you also choose Delivered?

Three orders remain, with amounts 64, 110 and 150. They sum to ₹324 and exclude the cancelled ₹220.

3. What should you verify right after Create Table?

Check A1:I11, the header option, the resulting table name and ten detail rows. Confirm the ₹2,870 amount independently.

4. How much is the original dataset after adding BLK-1011 for ₹75?

₹2,945 across eleven orders. Pune requests become ₹619 and delivered Pune becomes ₹399. Verify the new record lies inside the real Table.

5. Can you get a newer CSV by reapplying the worksheet filter?

Reapply uses the loaded rows. Use a supported refresh to retrieve the file, then verify the expected changed record and totals.

Interview practice

1. How can an ordinary SUM disagree with the Total Row?

A normal SUM can include the whole amount column. A default Total Row operation often uses SUBTOTAL with its filter and hidden-row rules. Verify the exact generated expression and scope.

2. Why inspect the order ID after sorting the Amount field?

Sorting should move complete records. The sum can remain correct even if amounts get reassigned to the wrong order when only one column was sorted.

3. How would you test a query refresh with no internet connection?

Use a supported local practice CSV and a clearly identified query. Change one accepted value, refresh and verify exact ID, amount, row count and total. The offline row calculation can serve as an independent expectation.

4. How do you prove that a table expanded as expected?

Verify the accepted row boundary and named table fields. Add one approved test record in a disposable copy and check both the increased all-data count and its changed filtered scope.

5. How do you preserve a reproducible filtered report?

Save the source version, view conditions, accepted record count and expected totals. Label a static extract separately from any connected output, and check the source before refreshing.

Six revision cards

  • Check the table boundary. The header and accepted facts belong in the source. A summary row has its own role.
  • Trace each filter. Adding City and Status narrows the eligible rows. Count and sum their exact records.
  • Sort the whole record. Verify that relevant fields follow their Order ID.
  • Reapply an existing view. Use it after a changed row inside the worksheet.
  • Refresh the approved input. Check the actual connected path, rows and values after completion.
  • Read the output type. A visible subtotal and a business-condition sum can react differently to a filter.

Compare the original Pune filter illustration. Review the tables and filters chapter, the Power Query chapter, the Excel Practice Task Hub and the next chart and PivotTable lesson.