Excel.Tips.Net ExcelTips (Menu Interface)

Shortcut to Merge Cells

Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Shortcut to Merge Cells.

Excel allows you to merge cells together in two ways: using the Merge and Center tool on the ribbon or toolbar, or by using the controls in the Alignment tab of the Format Cells dialog box. If you merge cells quite a bit, you might long for a shortcut that will merge whatever cells you've selected.

Unfortunately, Excel doesn't include such a shortcut. You can, however, create one using a macro. The following is a simple macro to merge whatever cells you've selected:

Sub MergeCells1()
End Sub

After you create the macro, you can assign it to a keyboard shortcut and you are set to go. If you instead want a macro that is a shortcut for the Merge and Center tool, then you can use the following:

Sub MergeCells2()
    With Selection
        .HorizontalAlignment = xlCenter
    End With
End Sub

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3095) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Shortcut to Merge Cells.

Related Tips:

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 5+3 (To prevent automated submissions and spam.)
           Commenting Terms

Comments for this tip:

Muhammad Umair Aslam    09 Nov 2016, 09:24
Every kind of issue in MS-Excel must be explain in simple words
pavan     04 Aug 2016, 06:24
if i want to do same operation in more than 02 cells, what is the shortcut in excel
Edwinesto    02 Aug 2016, 22:02
alt+Enter may work
shiv    01 Jun 2016, 00:59
Alt+h++m+m for merging selected cells but the value will be show of left side cell
MIHA    13 Mar 2016, 05:48

in many cases we need to merge in one column pares of cells
is it possible to do this quicker than choose every pare by hand?

nomi    12 Oct 2015, 12:23
i am merge cell but iam write name nomi khan but u say name nomi up and khan down to usay how many up/down short key
Zach    28 Jul 2015, 14:37
alt+h+m+c in Excel 2013 will do the trick. The buttons can be hit one after the other, they do not have to be held down. They do however need to be in that order
jayakrishnan    12 Jul 2015, 09:32
wonderfull short cut kristine..thank you
Yatin Sharda    10 Jun 2015, 07:24
There is another Short cut for merge cells in excel. Alt+H,M then Enter.
Fenix    25 May 2015, 09:23
You can right click the "Merge & Center" button and add it to "Quick Access Toolbar". By default, your hotkeys will be Alt + 4. You can further change the hotkey by selecting "More commands" under the quick access arrow and by moving your option to the top of the list. My preferred option is Alt + 2 as it's faster to access using my left hand.
REKHA PATHURIA    23 Mar 2015, 03:19
Michael (Micky) Avidan    07 Jan 2015, 07:02
@To whom it may concern,
You don't need to "waste 2 fingers muscles".
[F4] by itself is the ultimate "REPEAT ACTION" key.
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
Andy    06 Jan 2015, 12:40
Kristine is correct! highlight the cells, then just push Alt+Enter. EZ-PZ

Thanks Kristine!
Raju cs    25 Dec 2014, 09:57
Thank u Kristine It is wonderful shortcut key
Mohan    19 Dec 2014, 02:06
Alt+Enter will redo the last operation performed, so you Merge few cells the hard way (Select, Right Click, Alt+M) once and then repeat it the easy way by hitting Alt+Enter.

Actually Alt+Enter becomes handy to repeat recently performed task. Hope that helps.
rossie    17 Nov 2014, 04:13
woww, it's really helpful. thanks everyone!
lokesh    17 Nov 2014, 00:09
is there is no window shortcut for merge cell like alt+f4= close the current workbook
arindam    26 Aug 2014, 02:26
CTRL+1,A+ALT+M enter
RAJESH CR    25 Aug 2014, 02:05
Anael    22 Aug 2014, 22:19
Better yet, use the *Format Painter*!

A trick is to start with blank cells and merge more than you then intend. Select the new cell and double-click Format Painter.
Then just select the cells you want to merge.
ESC when you're done.
Yandi    13 Aug 2014, 02:09
Great tip Kristine, just used it in excel 2000 for a heap of merging and alignment. It worked a treat.
esraa    10 Aug 2014, 09:34
Kristine, thanks for your tip/ it made me a lot of saving :-)
Kristine    01 Feb 2014, 09:52
I found a shortcut for this: Alt+Enter I am using version 2013. The only odd thing is that you have to use the Merge button on the toolbar once before you start using the shortcut to define your setting (i.e. Merge and Center/Merge Across, etc.). Because of this the shortcut is only helpful if you're looking to merge a lot of cells without doing anything else in between.

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2017 Sharon Parq Associates, Inc.