
Excel split cells diagonally windows#
Any simple way to get that accomplished? If it helps i am using Windows 10. I just imported a comma separated value file into the A column and now need to split a column cell vertically into two “halves”. I am working on a statistical report in Microsoft Excel, using version 365. Here’s a question that we have received from a reader who wanted to divide an Excel column vertically: These are some of the methods that you can use to split a cell by inserting a diagonal line in Google Sheets.Applicable to: Office 2019, 2016, 2013 365 or standard So, if you hide the cell or filter the cell then because the line is apart of the cell it would follow the suit. The good thing about this method is that the line would stick with the self. Since we are using the sparkline chart, you would not be able to enter any data or use any formula to combine text with the sparkline chart formula. If all you want to do is insert a diagonal line within the cell in Google Sheets, there is an amazing sparkline chart technique that you can use.Įnter the below formula in the cell where you want the diagonal line, and you would get that as the result. Inserting Just the Diagonal Line in a Blank Cell While we have resized the line to make it fit within the cell, in case you resize the cell or you hide the column or filter it, this diagonal line would not follow the cell (i.e., it would not get resized or hidden with the cell)Ī better workaround could be to use the image function and insert the image of a diagonal line within the cell. The line that we have inserted is not a part of the cell but an object that sits over the worksheet. This method gives a better-looking result as compared to the previous tilt method.īut there is one drawback of this method. Adjust the position of the word Month in the cell by adding a few spaces before it.Resize the line and place it within the cell A1.This will insert the line in the worksheet In the Drawing dialog box that opens, click on the ‘Line’ option.This would give you a cell as shown below (with two headings and a gap in between) Repeat step 2 a couple of times 2 or 3 more times (to get more distance between the cursor and the word ‘Month’).With the cell in the Edit mode, hold the ALT key and press the Enter key (or Option + Enter if using Mac).Suppose I have the same dataset and I want to have both the headers in cell A1 with a split diagonal line separating both headings. = "Month" & char ( 10 ) & Rept ( Char ( 8213 ), 6 ) & char ( 10 ) & "Store" Drawing a Diagonal Line and Adding the TextĪnother good workaround to split the cell diagonally is to manually draw a line and add it to the cell. You can also use the below formula to do the same, where the formula will return the cell content, and then you need to tilt it using the same steps covered above. Note: When using this technique, you can not apply a border to the cell that has the headers, as that would show a tilted line in the cell. It gives an impression that the text above the line is the header for the row and the text below the line is the header for the column While this is not perfect, it gets the work done. The above steps would give you something as shown below. Adjust the row height and column width accordingly (I made it bold, aligned the text to the middle and to the center).In the options that appear, click on ‘Tilt down’.Hover the cursor over the ‘Text Rotation’ option.Now all you need to do is tilt the content of this cell so that the horizontal line becomes diagonal. Enter the text “Store” (which is the header for Column A)Īt this point, your cell would look something as shown below.Again, hold the ALT key and press the Enter key.This would insert a line break and you would be able to type in the next line within the same cell. With the cell in the edit mode, hold the Alt key and press the Enter key (Option + Enter if using Mac).



Drawing a Diagonal Line and Adding the Text.Inserting the Diagonal Line With Text in the Cell.
