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.

4 Ways to Rearrange Data in Excel (4)

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)

FAQs

What are 4 ways to format data in a spreadsheet? ›

Ways to format a worksheet
  • Working with document themes. ...
  • Using styles to quickly format data. ...
  • Formatting data manually. ...
  • Using borders and colors to emphasize data. ...
  • Changing the alignment or orientation of data. ...
  • Copying an existing format to other data.

What are the 4 ways to edit cells in Excel? ›

Enter Edit mode
  1. Double-click the cell that contains the data that you want to edit. ...
  2. Click the cell that contains the data that you want to edit, and then click anywhere in the formula bar. ...
  3. Click the cell that contains the data that you want to edit, and then press F2.

How can I rearrange data in Excel? ›

Under Row, in the 'Sort by' drop down, select the row that you want to sort. This will generally be row 1 if you want to sort by your header row. To sort by value, select one of the options from the Order drop-down: Sort Ascending to sort A to Z, smallest to largest, or earliest to latest date.

What is Excel 4 format? ›

File formats that are supported in Excel
FormatExtensionDescription
Excel 4.0 Workbook.xlwAn Excel 4.0 file format that saves only worksheets, chart sheets, and macro sheets. You can open a workbook in this file format in Excel 2013, but you cannot save an Excel file to this file format.
13 more rows

What are the 4 parts of an Excel spreadsheets? ›

  • Workbook - like a notebook, Excel creates an empty workbook when it starts (Book1)
  • Worksheets - sheets inside the workbook. (3 sheets (default) max is 255)
  • Sheet tab - tabs at bottom of Workbook containing each sheets name.
  • Tab scrolling buttons - can be used to scroll through the sheet tabs.

What are three ways you can sort data in Excel? ›

In Excel, you can sort your table by one or more columns, by ascending or descending order, or do a custom sort.

Is there a way to rearrange cells in Excel? ›

You can move cells in Excel by drag and dropping or using the Cut and Paste commands. Select the cells or range of cells that you want to move or copy. Point to the border of the selection. When the pointer becomes a move pointer , drag the cell or range of cells to another location.

Which option in Excel is used to rearrange? ›

The correct answer is Sort. Sorting and filtering are two popular features available in Microsoft Excel. They are widely used in data analysis to organize, arrange, and subset your data based on specific conditions. In this article, you will learn how to sort data in Excel.

What are the 4 functions in Excel? ›

The most frequently used functions in Excel are:
  • AutoSum;
  • IF function;
  • LOOKUP function;
  • VLOOKUP function;
  • HLOOKUP function;
  • XLOOKUP function;
  • MATCH function;
  • CHOOSE function;

What are the 4 main data types? ›

As you explore various types of data, you'll come across four main categories: nominal, ordinal, discrete, and continuous. Understanding these data categories can help you choose the appropriate analysis techniques and make sense of the information you encounter.

What is the order of operations in Excel? ›

Excel follows general mathematical rules for calculations, which is Parentheses, Exponents, Multiplication and Division, and Addition and Subtraction, or the acronym PEMDAS (Please Excuse My Dear Aunt Sally).

What are the 4 types of format commands that can be used to format data? ›

The 4 types of FORMAT commands includes:
  • Format-Wide.
  • Format-List.
  • Format-Table.
  • Format-Custom.

What are 4 types of information that can be entered into a spreadsheet cell? ›

Data: Data refers to the type of information that can be stored in the cells of a spreadsheet. Spreadsheet data types include values (numbers), labels, formulas and functions.

What are the 4 data types that can be entered into a worksheet? ›

The data that you enter can be numbers, text, dates, or times. You can format the data in a variety of ways. And, there are several settings that you can adjust to make data entry easier for you. This topic does not explain how to use a data form to enter data in worksheet.

What are the data formats available in spreadsheet? ›

File formats that use the Clipboard
FormatExtensionClipboard type identifiers
DIF.difData Interchange Format.
Text (tab-delimited).txtTab-separated text format.
CSV (Comma-delimited).csvComma-separated values format.
Formatted text (Space-delimited).rtfRich Text Format (RTF). Only from Excel.
10 more rows

Top Articles
WANTED old stereo equipment speakers hifi audio gear - wanted - by dealer - sale - craigslist
Opinion: Climate change will knock one-third off world economy, study shows
Strange World Showtimes Near Amc Brazos Mall 14
The Shoppes At Zion Directory
Climate change, eroding shorelines and the race to save Indigenous history - The Weather Network
Sarah Bustani Boobs
Australian Gold zonbescherming review - Verdraaid Mooi
Pollen Levels Richmond
Arre St Wv Srj
Things to do in Wichita Falls on weekends 12-15 September
Member Handbook 2021 | Ohio Medicaid Caresource | Member Handbook
On Trigger Enter Unity
Triple the Potatoes: A Farmer's Guide to Bountiful Harvests
Spectrum Store Downey Photos
Learning The Hard Way Chapter 4
Les Schwab Product Code Lookup
60 Days From May 31
Perse03_
Hannah Nichole Kast Twitter
Pay Vgli
Devon Lannigan Obituary
Jennifer Beals Bikini
Tcu Jaggaer
Craigslist Caldwell Id
Stuckey Furniture
Two Brothers Pizza Middletown Pa
Understanding P Value: Definition, Calculation, and Interpretation - Decoding Data Science
Sealy Posturepedic Carver 11 Firm
South Louisiana Community College Bookstore
Bella Poarch Dazzles in Recent Beach Photos, Hits 1 Million Instagram Likes - Magzica
Bdo Passion Of Valtarra
Ralph Macchio Conservative
Closest Postal Service To My Location
Nationsotc.com/Bcbsri
Top Compact Cars for 2025: Consumer Reports, Safety, and Overall Value Ratings
Oprichter Haagse rapgroep SFB doodgeschoten, wie was hij?
Scholastic to kids: Choose your gender
Centricitykp
Hannaford Weekly Flyer Manchester Nh
Fighting Darius by Nicole Riddley - GALATEA
Swrj Mugshots Logan Wv
Accuradio Unblocked
marie claire Australia January 2016 Robyn Lawley, Rachel Taylor, Sarah Snook • EUR 11,50
Hyundai Elantra - modele, dane, silniki, testy
Rubrankings Austin
50 Shades Of Grey Movie 123Movies
Swag Codes: The Ultimate Guide to Boosting Your Swagbucks Earnings - Ricky Spears
Pasha Pozdnyakova
Intervallfasten 5/2: Einfache Anfänger-Anleitung zur 5:2-Diät
Auctionzipauctions
Pike County Buy Sale And Trade
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 5940

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.