---
title: "Group rows or columns: Alt+Shift+Right in Excel (Mac Cmd+Shift+K) | PracticeExcel"
description: "Group rows or columns in Excel with Alt+Shift+Right on Windows or Cmd+Shift+K on Mac. Practice it in a live grid."
canonical_url: "https://practiceexcelonline.com/shortcuts/group-rows"
locale: en
meta:
  "og:description": "Group rows or columns in Excel with Alt+Shift+Right on Windows or Cmd+Shift+K on Mac. Practice it in a live grid."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~R3JvdXAgcm93cyBvciBjb2x1bW5zOiBBbHQrU2hpZnQrUmlnaHQgaW4gRXhjZWwgKE1hYyBDbWQrU2hpZnQrSyk%2Cdescription_~R3JvdXAgcm93cyBvciBjb2x1bW5zIGluIEV4Y2VsIHdpdGggQWx0K1NoaWZ0K1JpZ2h0IG9uIFdpbmRvd3Mgb3IgQ21kK1NoaWZ0K0sgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvZ3JvdXAtcm93cyI%2Cs_egxYomFi4Az2UgHt.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Group rows or columns: Alt+Shift+Right in Excel (Mac Cmd+Shift+K) | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~R3JvdXAgcm93cyBvciBjb2x1bW5zOiBBbHQrU2hpZnQrUmlnaHQgaW4gRXhjZWwgKE1hYyBDbWQrU2hpZnQrSyk%2Cdescription_~R3JvdXAgcm93cyBvciBjb2x1bW5zIGluIEV4Y2VsIHdpdGggQWx0K1NoaWZ0K1JpZ2h0IG9uIFdpbmRvd3Mgb3IgQ21kK1NoaWZ0K0sgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvZ3JvdXAtcm93cyI%2Cs_egxYomFi4Az2UgHt.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Group rows or columns**

<dl><dt>**Windows**</dt>
<dd>`Alt+Shift+Right`</dd>
<dt>**Mac**</dt>
<dd>`Cmd+Shift+K`</dd>
</dl>

Alt+Shift+Right

Groups the selected rows or columns, so you can collapse them with the minus button in the margin and expand them again with the plus button. With only some cells selected, Excel asks whether to group rows or columns. Groups are a tidier way than hiding to fold away detail in a report.

## **More Format shortcuts**

- [**Apply the Currency format**`Ctrl+Shift+4`](https://practiceexcelonline.com/shortcuts/currency-format)
- [**Apply the Date format**`Ctrl+Shift+3`](https://practiceexcelonline.com/shortcuts/date-format)
- [**Open Format Cells**`Ctrl+1`](https://practiceexcelonline.com/shortcuts/format-cells)
- [**Hide the selected columns**`Ctrl+0`](https://practiceexcelonline.com/shortcuts/hide-column)
- [**Hide the selected rows**`Ctrl+9`](https://practiceexcelonline.com/shortcuts/hide-row)
- [**Apply the Number format**`Ctrl+Shift+1`](https://practiceexcelonline.com/shortcuts/number-format)
- [**Add an outline border**`Ctrl+Shift+7`](https://practiceexcelonline.com/shortcuts/outline-border)
- [**Apply the percent format**`Ctrl+Shift+5`](https://practiceexcelonline.com/shortcuts/percent-format)
- [**Apply the Scientific format**`Ctrl+Shift+6`](https://practiceexcelonline.com/shortcuts/scientific-format)
- [**Apply strikethrough**`Ctrl+5`](https://practiceexcelonline.com/shortcuts/strikethrough)
- [**Apply the Time format**`Ctrl+Shift+2`](https://practiceexcelonline.com/shortcuts/time-format)
- [**Ungroup rows or columns**`Alt+Shift+Left`](https://practiceexcelonline.com/shortcuts/ungroup-rows)
- [**Unhide rows**`Ctrl+Shift+9`](https://practiceexcelonline.com/shortcuts/unhide-rows)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#webpage","@type":"WebPage","description":"Group rows or columns in Excel with Alt+Shift+Right on Windows or Cmd+Shift+K on Mac. Practice it in a live grid.","name":"Group rows or columns: Alt+Shift+Right in Excel (Mac Cmd+Shift+K)","url":"https://practiceexcelonline.com/shortcuts/group-rows","breadcrumb":{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/shortcuts/group-rows"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel keyboard shortcuts","item":"https://practiceexcelonline.com/shortcuts","position":2},{"@type":"ListItem","name":"Group rows or columns: Alt+Shift+Right in Excel (Mac Cmd+Shift+K)","position":3}]},{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#article","description":"Group rows or columns in Excel with Alt+Shift+Right on Windows or Cmd+Shift+K on Mac. Practice it in a live grid.","headline":"Group rows or columns: Alt+Shift+Right in Excel (Mac Cmd+Shift+K)","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~R3JvdXAgcm93cyBvciBjb2x1bW5zOiBBbHQrU2hpZnQrUmlnaHQgaW4gRXhjZWwgKE1hYyBDbWQrU2hpZnQrSyk%2Cdescription_~R3JvdXAgcm93cyBvciBjb2x1bW5zIGluIEV4Y2VsIHdpdGggQWx0K1NoaWZ0K1JpZ2h0IG9uIFdpbmRvd3Mgb3IgQ21kK1NoaWZ0K0sgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvZ3JvdXAtcm93cyI%2Cs_egxYomFi4Az2UgHt.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/shortcuts/group-rows#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~R3JvdXAgcm93cyBvciBjb2x1bW5zOiBBbHQrU2hpZnQrUmlnaHQgaW4gRXhjZWwgKE1hYyBDbWQrU2hpZnQrSyk%2Cdescription_~R3JvdXAgcm93cyBvciBjb2x1bW5zIGluIEV4Y2VsIHdpdGggQWx0K1NoaWZ0K1JpZ2h0IG9uIFdpbmRvd3Mgb3IgQ21kK1NoaWZ0K0sgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvZ3JvdXAtcm93cyI%2Cs_egxYomFi4Az2UgHt.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~R3JvdXAgcm93cyBvciBjb2x1bW5zOiBBbHQrU2hpZnQrUmlnaHQgaW4gRXhjZWwgKE1hYyBDbWQrU2hpZnQrSyk%2Cdescription_~R3JvdXAgcm93cyBvciBjb2x1bW5zIGluIEV4Y2VsIHdpdGggQWx0K1NoaWZ0K1JpZ2h0IG9uIFdpbmRvd3Mgb3IgQ21kK1NoaWZ0K0sgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvZ3JvdXAtcm93cyI%2Cs_egxYomFi4Az2UgHt.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
