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

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!

Raspberry Pi For Dummies

Raspberry Pi For Dummies

Set up your Raspberry Pi, then learn how to use the Linux command line, Scratch, Python, Sonic Pi, Minecraft and electronics projects with it.

Earworm

Earworm

In this entertaining techno-thriller for adults, Sean McManus takes a slice through the music industry: from the boardroom to the stage; from the studio to the record fair.

Scratch and Raspberry Pi resources

Scratch cat with balloons invites you to visit my Scratch resources

Sean's Scratch Resources

Tips, tutorials and free book chapters for Scratch, a coding language widely used in schools.

Four LEDs on a breadboard connected to a Raspberry Pi

Sean's Raspberry Pi Resources

Tutorials and guides for the Raspberry Pi, a budget computer perfect for learning to program.

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