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:
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:
.HorizontalAlignment = xlCenter
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.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Leave your own comment:
Comments for this tip:
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
WHAT IS THE SHORT CUT KEY TO MERGE CELL
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
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
RAJESH CR 25 Aug 2014, 02:05
SIR,VERY GOOD AND USEFUL
GO AHEAD AS TO HELP US
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.