Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Fix “All Merged Cells Need to Be the Same Size”’

    How to Fix “All Merged Cells Need to Be the Same Size”’

    Jabin ManandharBy Jabin ManandharMarch 13, 2023 Excel 2 Mins Read

    Whenever you try to sort or filter a cell range containing merged cells, you can encounter an error message such as  “To do this, all the merged cells need to be the same size.”

    As the error message suggests, you can only select merged cells of the same size. Meaning, you must have merged cells formed using the same number of rows and columns to sort/filter them.

    To resolve such error messages, you need to configure all the merged cells to be of the same size. However, it’s quite taxing as you need to find all the merged cells first and adjust them to the same size without altering any data.

    So, a better alternative is to simply unmerge such cells to any merged cell issue whatsoever.

    1. Select the cell range of the column where you want to sort/filter cells but receive the error message. 
      Select-cells-containing-merged-cells
    2. Now, click Merge & Center under the Home tab. Or, click the down arrow icon and select the Unmerge cells option.
      Unmerge-cells-Excel
    3. Click OK.

    After the cells are unmerged, you will be left with blank cells. To fill them with the same respective values that existed before unmerging,

    1. Press Ctrl + G while the cell range is still selected and click Special on the next prompt.
      Go-to-window-click-Special
    2. Next, choose the Blanks option.
      Choose-Blanks-option
    3. Once all the blank cells are selected, type = and select the cell value above it. 
      Select-above-cell
    4. Now, instead of pressing Enter, press Ctrl + Enter to fill in the blank cells with appropriate values.
      Fill-blank-cells-with-values-after-unmerging

    How Do the Merged Cells Work?

    Surprisingly, the merged cells work much differently than the typical Excel cells. 

    Once you merge cells, you can no longer select individual cells inside the merged cell. The whole merged cell takes up the cell reference of the top-left cell. This is true irrespective of how you have merged them; merged across or center.

    So, if you try to refer to other cells inside the merged cell, Excel will either return the value 0 or an error while using them in a formula.

    For instance,

    Here, we have different types of merged cells. However, you can notice that all of them return the value of their respective top-left cell only.

    Excel Basics
    Jabin Manandhar

      As a tech content writer, Jabin covers Excel-related articles at InsideTheWeb. His articles mainly involve helping new users to quickly familiarize themselves with the Excel interface and explaining various essential features. While he got introduced to Excel in his early school days, he developed a keen interest in it after working on a college project. He was impressed at how quickly one could accomplish several tasks with built-in functions like the filter function and user-friendly tools like the power query. Keeping beginner audiences in mind, he loves to explain even the most fundamental Excel concepts in detail and break down complex topics with a step-by-step approach. As an avid Excel user, he believes every task can be done a lot quicker if you know the right tools and techniques. When he’s not behind a keyboard, he loves to listen to interesting audiobooks and podcasts.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.