Excel

5 Simple Tricks to Make Excel Cells Square

How To Make Excel Cells Square

When working with spreadsheets in Microsoft Excel, ensuring the cells are square can be crucial for many tasks like data visualization or creating grids for various purposes. But making Excel cells square is not as straightforward as one might think due to Excel's default settings and automatic adjustments to cell sizes. Here are five simple tricks to make your Excel cells square, enhancing the look and functionality of your spreadsheets.

1. Adjust Row and Column Sizes Manually

  • Select the rows or columns you want to make square.
  • Right-click and choose Row Height or Column Width.
  • Enter the same value for height and width to make cells square. For example, if you set the row height to 21 and the column width to 10, then both will appear square when viewed at standard screen zoom levels.

⚠️ Note: Depending on your screen resolution, the cells might appear slightly rectangular despite having the same height and width settings. Adjust if necessary to your preferred view.

2. Use the Format Painter

  • After making one cell or a selection of cells square, click the Format Painter button.
  • Click and drag over the cells you want to apply this format to. This copies the exact dimensions, making those cells square as well.

3. Employ a Formula for Automatic Adjustment

If you frequently need to adjust cell sizes to make them square, you might consider automating the process with a formula:


=IF(CELL(“width”)<>CELL(“height”),CELL(“width”)-CELL(“height”),“Square”)

This VBA function can be used to check and adjust the dimensions:


Sub MakeCellsSquare()
    Dim rng As Range
    Set rng = Selection
    rng.ColumnWidth = Application.WorksheetFunction.Max(rng.RowHeight, rng.ColumnWidth)
End Sub

💡 Note: You’ll need to enable macros or add this function to a module in Excel.

4. Modify Default Settings

You can change Excel’s default cell sizes to your preferred square dimensions:

  • Go to File > Options.
  • Select Advanced.
  • Under Display options for this worksheet, adjust the Default column width and Default row height to be the same number.

5. Create a Custom View

If you need cells to be square for specific views or sheets:

  • Adjust your cells as desired to make them square.
  • Go to View > Custom Views.
  • Click Add, name your view, and save it. This allows you to toggle between views where cells are square or otherwise.

In conclusion, while Excel's default settings might not favor square cells, there are multiple straightforward techniques to achieve this. Whether through manual adjustments, automation with formulas, or custom settings, you can tailor your spreadsheet's appearance to meet your specific needs, ensuring both aesthetic and functional satisfaction.

Why do my cells not look square even after setting the same height and width?

+

Screen resolution and the default settings for zoom level in Excel can cause cells to appear slightly rectangular even when they are set to have the same height and width. Adjust your zoom or use higher resolution screens if possible.

Can I automate the process to keep cells square as I add data?

+

Yes, you can use VBA macros to periodically adjust cell dimensions to keep them square, especially if the sheet is edited frequently.

Does making cells square affect data integrity?

+

Changing cell dimensions does not affect the data stored within them. It only changes how the data is displayed.

Related Terms:

  • Excel square grid template
  • cm square symbol in excel
  • create square grid in excel
  • make excel cells square size
  • make excel grid square

Related Articles

Back to top button