Search form

Working with data ranges in Excel

Excel is a powerful tool for manipulating large amounts of data. Make sure you know the rules Excel uses when setting up a data spreadsheet.

You can use Excel like a simple database to manage and manipulate large amounts of data. For example, you can sort a table of data based on the values in one or more columns. You can filter the same table to hide rows that don't meet a set of criteria. You can insert subtotals and counts into the middle of a table of data based on criteria that you set. However, to get the most from Excel's features you need to follow some simple rules.

Enter your data as a range

The first rule, and the most important, is to make sure your data is entered as a solid block of data, known as a table or range, that doesn't contain any empty rows columns anywhere within the range. Excel uses empty columns and rows to determine where the edges of a range are. A lot of people like to insert empty rows and columns to space their data out. This might look good, but it stops your data from functioning correctly as a range. To test whether your data is correctly entered as a range, try clicking on one cell in the range and pressing the shortcut key combination CTRL+*. If you don't have a number keyboard, press CTRL+SHIFT+8. This will select what Excel sees as the range. If it doesn't select the right data, review your data for empty cells or rows.

All columns must have headings

The second rule is to ensure that your columns have a unique title at the top. Excel can usually manage without column headings, but your life will be a lot easier if you've got headings in your data table. A common mistake people make when entering columns is to split the heading into two rows so that the title fits neatly in to the column width they've defined. Problem is, Excel will treat the first row as the heading and the second row as part of the data. Use Excel's Word Wrap feature instead to make long headings wrap within the cell.

Our Comment Policy.

We welcome your comments and questions about this lesson. We don't welcome spam. Our readers get a lot of value out of the comments and answers on our lessons and spam hurts that experience. Our spam filter is pretty good at stopping bots from posting spam, and our admins are quick to delete spam that does get through. We know that bots don't read messages like this, but there are people out there who manually post spam. I repeat - we delete all spam, and if we see repeated posts from a given IP address, we'll block the IP address. So don't waste your time, or ours. One other point to note - if you post a link in your comment, it will automatically be deleted.

Add a comment to this lesson

Add comment