Javatpoint Logo
Javatpoint Logo

How can one Convert a Microsoft Excel table to range or vice versa

It was well known that, in the Microsoft Excel worksheets, we are required to organize, maintain, and analyze the given amount of data every now and then efficiently.

And in this respective tutorial, we will see how one can easily convert the Microsoft Excel table to a normal range in Microsoft Excel. Despite this, we will also describe the various methods that can be used for the purpose of converting any data range to the Table in Excel. But before that, we will understand some of the basic terminologies, such as:

  • What is Range in Microsoft Excel?
  • What is Named Range in Microsoft Excel?
  • What is Table in Microsoft Excel?

Moreover, the Table in Microsoft Excel is primarily considered one of the most powerful tools that can be used to organize, manage, update, as well as analyzing the various entries in a given dataset respectively.

What is Range in Microsoft Excel?

Range: In Microsoft Excel, a group of the selected cells in a given dataset is only a range. And we can easily select any number of the cells in a given dataset, and the reference of the leftmost top cell and the bottom rightmost cell is Range.

  • For example: If we are selecting out the cells that is B4 to D13, then B4:D13 is the Range in the given dataset respectively:
How can one Convert a Microsoft Excel table to range or vice versa

What do we meant by the term Named Range in Microsoft Excel?

A named range in Microsoft Excel is basically considered as a simple range of cells with a name but the main purpose of making use of the named ranges is to just make use of the references in order to a group of cells.

  • For example: If we are considering a scenario in which the name of the following selected Range is "Sales", then in that particular scenario, we can refer to this Range by name in formulas (rather than making use of the cell references like B2:B7):
How can one Convert a Microsoft Excel table to range or vice versa

And for the purpose of converting a particular range of cells to a named range, we all need to do is to just select out the Range, and then we will be typing the name into the Name Box and pressing out the return key:

How can one Convert a Microsoft Excel table to range or vice versa

Moreover, we can easily identify a named range by just selecting the Range of the cells.

And if in case we see a name instead of a cell reference in the name box, then in that case the Range of cells primarily belongs to a Named range.

What is Table in Microsoft Excel?

Table: In Microsoft Excel, Table is a kind of advanced Range which is having an inbuilt features and an Excel Table is a pre-structured up-to-date range with different offered features such as Header Rows, Total Rows, Banded Rows, etc.

And it is very much easy in order to distinguish the Tables from Ranges. It was well known that Microsoft Excel Table has a frozen heading, borderlines, auto-filter, sort options, and a distinct viewing format.

How can one Convert a Microsoft Excel table to range or vice versa

What are the basic differences between the Range and Table in Microsoft Excel?

At a very first glance, it is much easy in order to differentiate between a table and a range effectively that are widely used in Microsoft Excel.

Now we will be seeing out some of the basic differences that exist in between an Excel Table and a Range:

  1. Cells in an Excel tablemust exist in a contiguous collection of cells, while cells in a range however not necessarily need to be in the contiguous form as well.
  2. Each column in the Microsoft Excel tableneeds to have a heading, and on the other hand, the Named ranges need not have such compulsion respectively.
  3. When in a case new rows are added to the Table, then they remain as a part of the Table. However, the new rows which are added to a range are not implicitly a part of the original Range as well.
  4. Moreover, in the tables we can easily add aggregation functions (such as the sum function, average function.) for every column without the requirement of writing any kind formulas, whereas with the ranges, we need to explicitly add whatever formulas we want to apply in a given cell respectively:
    How can one Convert a Microsoft Excel table to range or vice versa
  5. And in order to make a formula easier to read, cells in a table can be referenced by making use of the shorthandalso known as a structured reference which means that instead of specifying all the cell references in a given formula (as in case of ranges), we can make use of a shorthand which is as follows:
How can one Convert a Microsoft Excel table to range or vice versa
  1. Typing out the formula for one row is enough in a particular table, and then the formula gets automatically copied to the rest of the rows in the selected Table. While in a range or named Range, however, we always need to make use of the fill handle for the purpose of copying a formula down to other rows in a column as well.
  2. Furthermore adding of a new row to the bottom of a table automatically copies down the formulae to the new row and with the ranges as well. However, we must make use of the fill handle in order to copy down the formula whenever we insert a new row.
  3. Pivot tables as well as the charts based on a table will get automatically updated with the Table whereas in the ranges this operation is not possible.

What do we mean by convert an Excel table to a range in Microsoft Excel?

It was well known that Microsoft Excel most probably allow us to quickly transform a given table back to a normal range, as this will be removing all the table features but keep table style formatting preserved. Below, we will find detailed guidance how to achieve this:

How can one convert a table to a range in Microsoft Excel?

The fastest way that can be used to transform the given Table into a normal range is this: we first need to right-click on any cell in our selected Table, and then we will click on the Table> Convert to Range.

How can one Convert a Microsoft Excel table to range or vice versa

And we can perform out the same operation by making use of the ribbon:

Step 1: Firstly we will select any cell in the Table in order to activate the Table Design tab.

Step 2: After that, on the Table Design tab, in the Tools group, we will be clicking on the option that is: Convert to Range.

How can one Convert a Microsoft Excel table to range or vice versa

And then, either way, Microsoft Excel will display a prompt asking us to confirm our intention as well:

How can one Convert a Microsoft Excel table to range or vice versa

After that, once we click on the Yes option, the Table is immediately changed back to a normal range of cells respectively:

How can one Convert a Microsoft Excel table to range or vice versa

Note. We should keep in mind that this particular method would be changing a table to a usual range as well as removing all the features of an Excel table, like as automatic expansion, etc. And it does keep the table style formatting preserved, like as fill and font colors. And if in case we do not want it, then we can easily remove it.

How can we convert Range to Table in Microsoft Excel?

We have various methods that can be used for the conversion of the Range to Excel, which we are going to discuss one by one respectively:

Method 1: By making use of the Table Feature to Convert Range to Table

It should be noted that Microsoft Excel will have an Insert tab that offers an inserting table option in Tables Sections.

Steps:

Step 1: First, we will go to Insert Tab> and Select Table (in the Tables section).

How can one Convert a Microsoft Excel table to range or vice versa

Step 2: After that a Create Table command box will get appear on the screen just after performing the above steps.

Step 3: In this step, we will be selecting the Range that is from: B4:H16, which we want to convert into a table. Where is our data for our selected Table? Field and we will be ticking the box saying My Table has Headers respectively.

How can one Convert a Microsoft Excel table to range or vice versa

In this case, if we do not have the headers, keep the box Unticked.

Step 4: Finally, we will click on the OK button. And the whole Range will be then converted into a table as seen below:

How can one Convert a Microsoft Excel table to range or vice versa

Method 2: By making use of the Keyboard Shortcuts to Convert Range to Table

We can use the keyboard shortcuts to convert a range into a table.

Steps:

Step 1: First, we will press out the CTRL+T altogether.

Step 2: Consequently, a Create Table window appears on the screen.

How can one Convert a Microsoft Excel table to range or vice versa

Step 3: In this step, we will select the RangeRange (i.e., B4:H16). If the columns have headers, we will Tick the box saying My Table has headers unless keeping it Unticked.

Step 4: We will click the OK button to proceed further.

Step 5: Then the selected Range will becomes a structured table:

How can one Convert a Microsoft Excel table to range or vice versa

Method 3: By making use of the Format as Table Feature in order to Convert Range to Table

The other most convenient way which can be used for the purpose of converting a range into a table is by just making use of the Format as Table feature.

Steps:

Step 1: First, we must hover to Home Tab > and Select Format as Table (inside the Style section).

Step 2: We have lots of table styles which are pre-added and we will be choosing any of the Styles in order to format the Range as a table in an organized manner.

How can one Convert a Microsoft Excel table to range or vice versa

Step 3: Consequently, the Create Table window will get appears on the screen as similar to the previous methods.

Step 4: Then, we will select the Range that is from B4:H16 and Tick the My Table has headers box as previously instructed.

How can one Convert a Microsoft Excel table to range or vice versa

Step 5: Nextly, we will click the OK button, and the specified RangeRange converts into a table.

How can one Convert a Microsoft Excel table to range or vice versa





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA