4 Ways to Rearrange Data in Excel (2024)

Quick Links

  • Splitting Alternate Rows Into Two Columns

  • Turning Vertical Data Horizontal (Or Vice Versa)

  • Sorting Data

  • Splitting and Merging Data Using FlashFill

Excel is a great tool for presenting and analyzing information, but frustrations arise when the data isn't appropriately laid out. Re-typing the data into the preferred layout takes time and is certain to result in errors. Luckily, there are ways to rearrange data in just a few simple steps.

There are many different ways to reorganize data in Excel, but we've listed some of the most useful and efficient methods.

Splitting Alternate Rows Into Two Columns

In this example, we have a spreadsheet containing people's names and phone numbers in the cells below. You could end up in this situation if you've copied the data from another source (such as an email or a form) into your spreadsheet.

4 Ways to Rearrange Data in Excel (1)

Excel is designed to display data in typical table form. In other words, each column should contain the same type of value (in our case, the person's name in column A and the phone numbers in column B), and each row should contain details for one variable (in our case, each person).

To achieve this, press Ctrl+G to launch the Go To dialog box. If you have other data in your sheet, first select the data you want to rearrange. Then, click "Special."

4 Ways to Rearrange Data in Excel (2)

Then, choose the data type you want to select. In our case, we first want to select any cell that is constantly text (the people's names), so we will click "Constants," and then uncheck "Numbers," "Logicals," and "Errors," leaving "Text" as the only checked data type.

4 Ways to Rearrange Data in Excel (3)

Then click "OK."

You will see that only the text is selected.

Then, press Ctrl+C to copy the text. Select the cell where you want to paste the first column of the new table you are creating, and press Ctrl+V. You'll see that the data has handily pasted without gaps between each cell.

4 Ways to Rearrange Data in Excel (5)

Repeat the process for the numbers, but this time, leave "Numbers" as the only checked constant data type.

4 Ways to Rearrange Data in Excel (6)

Copy and paste the selected numbers into the column next to where you pasted the names, and then delete your original column by right-clicking the column header.

4 Ways to Rearrange Data in Excel (7)

Using this method ensures the data remains in the same order, and you haven't had to use any formulas in the process. You can also format your table to give you the option to sort the data or easily add further rows and columns.

4 Ways to Rearrange Data in Excel (8)

As you saw when you opened the Go To Special dialog box, there are other types of data you can select and paste into a new column.

Turning Vertical Data Horizontal (Or Vice Versa)

In the example below, we want to flip our table so that the dates run along the top and the people run down the side. Doing this manually would take a long time and inevitably lead to copying errors. Luckily, you can do this in just a few steps using Excel's transpose pasting function.

4 Ways to Rearrange Data in Excel (9)

Many online forums and tutorials state that you cannot transpose a formatted table, but this isn't true. Indeed, the following process works regardless of whether or not your table is formatted using Excel's Format As Table option.

Select all the data in your table (including the header row), and press Ctrl+C. Then, click the cell where you want the top-left value of the transposed data to be, and press Ctrl+Alt+V to launch the Paste Special dialog box.

Now, you need to choose how the data will be converted. For example, because we have dates in our table, we want to make sure the number formats are correctly transposed. If we don't pay attention to this, the dates will not transpose accurately. So, we have clicked the "Values and Number Formats" button. Then, check the "Transpose" checkbox, as this is the function that will switch your rows and columns for you. Finally, click "OK."

4 Ways to Rearrange Data in Excel (10)

You will then see the data transposed in the position you selected. You can now delete the original table and format the new one to suit your needs.

4 Ways to Rearrange Data in Excel (11)

Sorting Data

Whether you want to sort numbers (ascending or descending) or text (alphabetically), there are various ways to achieve this. Which option you choose will depend on whether you're sorting an isolated array (in other words, the column you're sorting is not connected to any other data), or a column in a table.

Sorting an Isolated Array

If you simply want to reorder an isolated array, select and right-click the data. In the menu that appears, hover over "Sort."

4 Ways to Rearrange Data in Excel (12)

You'll then see several options. If your data is a series of numbers, you will have the option to sort them from smallest to largest or largest to smallest. Similarly, if you have a series of text, you can organize your data in alphabetical or reverse-alphabetical order.

Alternatively, with your isolated array selected, see the options available in the Sort And Filter group of the Data tab on the ribbon. Here, you can either click the "A-Z" or "Z-A" buttons to rearrange your data quickly, or click "Sort" to launch more options.

4 Ways to Rearrange Data in Excel (13)

If you do click "Sort," you will see the following dialog box. If you wish, you could sort the data based on cell or font color instead of the cells' values.

4 Ways to Rearrange Data in Excel (14)

Sorting a Column in a Table

If you use the above methods to sort a column in a table, the remaining columns will remain as they were, and your table will no longer read accurately. In this case, you need to add filter buttons to your table.

Select any cell within your table, and in the Data tab on the ribbon, click "Filter."

4 Ways to Rearrange Data in Excel (15)

You will then see filter buttons, which you can click to rearrange a column with the knowledge that each row will remain congruent as you do this.

4 Ways to Rearrange Data in Excel (16)

Formatting your data as a table using Excel's Format As Table function will cause filter buttons to appear automatically.

Splitting and Merging Data Using FlashFill

There may be occasions when you want to split data into two or more cells—for example, if you have more than one piece of information in a cell, splitting this data into two cells means you'll be able to use the sort function more effectively.

In this example, we want to split the names in column A so that the first names are in column B and the surnames are in column C.

4 Ways to Rearrange Data in Excel (17)

Start by typing the first item in column B.

It's important that you create the FlashFill column directly next to the existing data—otherwise, the FlashFill won't work.

4 Ways to Rearrange Data in Excel (18)

Then, select the cell directly underneath where you have typed the first entry, and press Ctrl+E. This will automatically follow the same pattern that you started in the first cell of this column, which, in our case, is extracting the first word from column A.

4 Ways to Rearrange Data in Excel (19)

You can then repeat the process in column C for the surnames, as this is directly adjacent to existing patterned data.

4 Ways to Rearrange Data in Excel (20)

To finish, format your table, delete the original data, and add filter buttons to make your data more flexible.

4 Ways to Rearrange Data in Excel (21)

Follow the same process to merge data together. So, if you have data in columns A and B that you want to merge in column C, start by typing the first merged value in column C, and then press Ctrl+E to force Excel to follow the same pattern. You can also add further details when using FlashFill. For example, here, we have added the word "and" to the data.

4 Ways to Rearrange Data in Excel (22)

It's no good having nicely arranged data within your spreadsheets if your worksheet tabs are disorganized. Fortunately, Excel also lets you sort your tabs into alphabetical order.

4 Ways to Rearrange Data in Excel (2024)
Top Articles
24 Hour Cvs Pharmacy Sacramento
Car Games Unblocked 🚗 - FreezeNova
Skyblock Ah History
ARK Survival Ascended Floating Turret Tower Build Guide
Melissababyxo Cam
Minus8 Patreon
Inside Watchland: The Franck Muller Watch Manufacturing Facilities | aBlogtoWatch
Old Bahama Bay Quad Folding Wagon
What Ever Happened to H.T. Cushman Furniture?
Pobierz Papa's Mocharia To Go! na PC za pomocą MEmu
Gateway Login Georgia Client Id
Fnv Mr Cuddles
UK HealthCare EpicCare Link
Craigslist.com Seattle Wa
New & Used Motorcycles for Sale | NL Classifieds
C.J. Stroud und Bryce Young: Zwei völlig unterschiedliche Geschichten
Cherry Spa Madison
Kate Spade OUTLET • bis 70%* im Sale | Outletcity Metzingen
Kellifans.com
Craigslist Org Hattiesburg Ms
Wayne State Dean's List
Ruc Usmc List
Clarksville.craigslist
Alamy Contributor Forum
Solid Red Light Litter Robot 4
Starlight River Multiplayer
My Fico Forums
Sams Gas Price Garland Tx
Cluster Truck Unblocked Wtf
Is Costco Gas Good? Quality, Cost & Benefits | Ridester
Bella Poarch Dazzles in Recent Beach Photos, Hits 1 Million Instagram Likes - Magzica
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Encore Atlanta Cheer Competition
Josh Bailey Lpsg
Tcc Northeast Library
Rolla Mo Craigslist
Chars Boudoir
Pressconnects Obituaries Recent
Sirius Satellite Radio Sports Schedule
EnP. Karl Sam Maquiling on LinkedIn: #anniversary #localgovernment #urbanplanning #goodgovernance…
Papajohnxx
Accuradio Unblocked
Htmp Hilton
Pastel Pink Facetime Icon
Neo Geo Bios Raspberry Pi 3
Epiq Document Delivery
Math Nation Algebra 2 Practice Book Answer Key
Dairy Queen Blizzards: Our Updated Rankings
Salmon Fest 2023 Lineup
Ds Cuts Saugus
R Warhammer Competitive
Academic calendar: year cycle and holidays | University of Twente | Service Portal
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6054

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.