In Microsoft Excel,

alt text

I want to make the height of first three rows and first four columns (12 cells in the top left corner) such that these cells are squares. How can this be done?


Surprisingly, Excel says:

Row height: 15
Column width: 8.43

So, these are not on the same scale.

Making both of them 8.43 gives me this:

alt text

Now, what should I do?

link|improve this question

2  
See this article. – Lance Roberts Jul 20 '10 at 15:07
Because there seems to be a lot of confusion as to what you meant, I've changed your title. Feel free to change it back or edit it if that was not your intention. – Sasha Chedygov Jul 20 '10 at 21:10
feedback

7 Answers

Excel's column width is measured by the number of zeros (0) that can fit in the cell at the Normal style. To convert to points (how row height is measured), see

http://www.dailydoseofexcel.com/archives/2004/06/01/column-widths-in-points/

If you don't need to be exact, just eyeball it. If you do need to be closer than eyeballing, put a square from the Drawing toolbar on your sheet and size it. If you want it 10 x 10, use code like this:

sheet1.Shapes(1).Height = 10
sheet1.Shapes(1).Width = 10
sheet1.Shapes(1).Top = sheet1.Shapes(1).TopLeftCell.Top
sheet1.Shapes(1).Left = sheet1.Shapes(1).TopLeftCell.Left

Then you can manually size your row and column to fit the square and read the height and columnwidth.

link|improve this answer
1  
I'd think with a program as powerful as Excel that something as simple as this would be easier. But it's not. – Sasha Chedygov Jul 20 '10 at 21:12
4  
That's because Excel is a spreadsheet/accounting program, not a document layout engine. It also makes little sense to give absolute heights/widths to cells since different systems use different default fonts, which have different character dimensions. Using relative units like em makes more sense. – Lèse majesté Jul 20 '10 at 23:18
feedback

First, select the cells you want to resize. Then on the Home tab, go to Cells box and click on Format option. Here you can change the Row Height and Column Width of the selected cells as you want.

link|improve this answer
Please see my updates in the question. – Lazer Jul 20 '10 at 14:55
You can manually try to obtain a square. For example, set row height = 15 and column width = 3. – Mehper C. Palavuzlar Jul 20 '10 at 14:59
feedback

Select all (or the rows/cols you need), then drag to resize to your desired size.

  1. You can drag to resize the column width.
  2. When you do, a tooltip appears with the exact pixel count.
  3. Remember the pixel value!
  4. You can also drag to resize row height, it works the same way.
  5. Drag to the same pixel value.
  6. Done!
link|improve this answer
feedback

Click and drag on the border between the rows. To resize more than once column/row at a time, select them all, right click and click "Row Height..." and set it to the same height as the rows are wide.

link|improve this answer
There is no "row height" in the right click menu. – Lazer Jul 20 '10 at 15:42
feedback
  • Select the columns (click the A column, then hold shift and click the other end)

  • Right click on one of the columns, click Column Width and then enter a new value.

  • You can do the same with a row, then click Row Height to get the height of a row.

link|improve this answer
feedback

If you wanted to do it for the whole sheet, you could use this trick - which may be helpful anyway: click the box to the left of column heading A to select all cells; click on and drag one of the column header dividers to the size you want, noting the number of pixels for the resulting cell width (I'm using Excel 2007, which shows this); do the same for one of the row label dividers, matching it to the column width by pixels. This should make all cells in the sheet boxes. Which of course is not what you asked, but I had hoped this trick would work with a subset of cells. Unfortunately it doesn't.

link|improve this answer
feedback

I wanted to make a perfect square grid for a sewing project and kept getting all kinds of weird answers for this question, so I decided to play with it myself to figure it out. I discovered it's impossible to get a perfect square, but I came as close as you can get, just a sliver off. highlight the squares you want to format, then go to the format tab and format the column width at 12.43, then format the cell height to 75.00. Using a ruler I found I was just a fraction off at 7 and 10 inches in length. Hope this helps.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.