Home > Books > 100 Top Tips: Microsoft Excel > Filling to match the neighboring column

Tutorial: Filling to match the neighboring column in Excel

Discover how to quickly fill a number sequence in a spreadsheet, matching the column length of the rest of your data. By Sean McManus, from the book 100 Top Tips: Microsoft Excel

There's an even quicker way to autofill a range so it matches the size of the neighboring columns.

  1. Enter the first two data items in the sequence you want to use. For example, if you want to add years starting at 2025 and want to increase by 1 each time, enter 2025 and 2026 into two cells.

  2. Highlight both cells containing the data items you just entered.

    screenshot of Excel showing how to highlight cells

  3. Double-click the Fill handle in the bottom right of the selected area.

  4. Your data column is automatically filled to match the size of the neighboring columns. In my example, the autofill extends to where the data ends in the third column, even though the nearest column is shorter.

    screenshot of Excel showing how the data column is filled


Where next?


About 100 Top Tips: Microsoft Excel

This tutorial is from 100 Top Tips: Microsoft Excel. The powerful pocketbook helps you to learn more from your data, be more productive with Excel, and improve the accuracy of your spreadsheets. It's packed with shortcuts, tips, and hacks for Excel that solve everyday business problems. Find out more and download a free PDF sampler here, and order the book online here.

Book cover: 100 Top Tips: Microsoft Excel

Buy the book here

Credits

© Sean McManus. All rights reserved.

Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!

Discover my latest books

Coding Compendium

Coding Compendium

A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.

Web Design in Easy Steps

Web Design IES

Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.

100 Top Tips: Microsoft Excel

100 Top Tips: Microsoft Excel

Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.

Scratch Programming in Easy Steps

Scratch Programming IES

This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.

Mission Python book

Mission Python

Code a space adventure game in this Python programming book published by No Starch Press.

Cool Scratch Projects in Easy Steps book

Cool Scratch Projects in Easy Steps

Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!

Walking astronaut from Mission Python book Top | Search | Help | Privacy | Access Keys | Contact me
Home | Newsletter | Blog | Copywriting Services | Books | Free book chapters | Articles | Music | Photos | Games | Shop | About