Skip to main content
Workforce LibreTexts

4.15: Rearranging Tables

  • Page ID
    14774
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives

    • Add, delete, and move columns and rows.

    At times, you may find it necessary to change the number of rows or columns within your table, move columns or rows, or even alter the standard width of rows and columns. All these tasks are easy to accomplish within Excel, often with only a few clicks of your mouse.

    Add Columns and Rows

    Note for this section, the word column will be used throughout but the same steps can be used to add a row.

    Method 1

    After you have entered several columns of data into a worksheet, you may realize you need to add another column in the middle of what you have already typed. The easiest way to add a column within an existing set of columns involves only two clicks of your mouse.

    1. Identify the area where you want to insert a new column.
    2. Right-click on the column to the immediate right of the area where you wish to add a column.
    3. From the menu select Insert.
    4. A new column will appear to the left of the column that you right-clicked.
    A Microsoft Excel sheet is open with numbers from A1 to B4. A dropdown menu has been opened up and the option to insert is highlighted.

    Method 2

    The same result can be achieved using the Insert button in the Cells group of the ribbon. The new column will be inserted to the left of the column you clicked on. In this screenshot, a column has been inserted.

    An Excel sheet is open with numbers in column A, C, and D through row 4. In column B there is a green arrow showing where a new cell column has been inserted. In the top right there is another green arrow pointing this time at a green box, specifically at the insert dropdown menu.

    Note that when you insert a new row, it will appear above the row you click on.

    Delete Columns and Rows

    Note for this section, the word column will be used throughout, but the same steps can be used to delete a row.

    Method 1

    After you have entered several columns of data into a worksheet, you may realize you need to remove one column. The easiest way to delete a column uses two clicks of your mouse.

    1. Right-click on the column you wish to delete.
    2. From the menu select Delete.
    rearrangetables3.png

    Method 2

    The same result can be achieved using the Delete button in the Cells group of the ribbon. The column currently selected will be the one deleted. In this screenshot the column has been deleted.

    An excel sheet is open with numbers in columns A1 thorough B4. There is a green arrow pointing at a green box, specifically at the delete cells dropdown menu

    Move Columns and Rows

    Note for this section, the word column will be used throughout, but the same steps can be used to move a row.

    Method 1

    After you have entered several columns of data into a worksheet, you may realize you need to move a column to a different location within the set. Once again, Excel makes it quite easy to move data around a worksheet.

    1. Right-click on the column you wish to move.
    2. From the pop-up window select Cut. The column you have selected should become outlined in a dashed border.
    An Excel sheet is open with numbers in columns A1 through C4. There is a green arrow pointing at column B which has been selected.
    1. Next, right-click on the column you wish to move your column to the LEFT of.
    2. A new dialog window will appear. Select Insert Cut Cells. The column you selected to move should then appear in this new location.

    Method 2

    An excel sheet is open with numbers in columns A1 through C4. A green arrow is pointing at cell C5.

    The same result can be achieved using a combination of keyboard shortcuts and dialog windows.

    1. Right-click on the column you wish to move.
    2. Press Ctrl+X. The column you have selected should become outlined in a dashed border.
    3. Next, right-click on the column you wish to move your column to the LEFT of.
    4. A dialog window will appear. From it select Insert Cut Cells. The column you wish to move should then appear in the new location.

    Contributors and Attributions

    CC licensed content, Original
    • Rearranging Tables. Authored by: Shelli Carter. Provided by: Lumen Learning. License: CC BY: Attribution

    4.15: Rearranging Tables is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?