Fast Formula Copy


July 03, 2017 - by

Fast Formula Copy

Tip #1 from the MrExcel XL book - fast ways to copy a formula down a column. 

You have thousands of rows of data. You’ve added a new formula in the top row of your data set, something like this =PROPER(A2&" "&B2), as shown below. You now need to copy the formula down to all of the rows of your data set.

Enter New Formula
Enter New Formula

Many people will grab the Fill Handle and start to drag down. But as you drag down, Excel starts going faster and faster. Starting in Excel 2010, there is a 200-microsecond pause at the last row of data. 200 microseconds is long enough for you to notice the pause but not long enough for you to react and let go of the mouse button. Before you know it, you’ve dragged the Fill Handle way too far.


Drag the Fill Handle
Drag the Fill Handle

The solution is to double-click the Fill Handle! Go to exactly the same spot where you start to drag the Fill Handle. The mouse pointer changes to a black plus sign. Double-click.

Double Click the Fill Handle
Double Click the Fill Handle


Excel looks at the surrounding data, finds the last row with data today, and copies the formula down to the last row of the data set.

In the past, empty cells in the column to the left would cause the “double-click the Fill Handle” trick to stop working just before the empty cell. But as you can see below, names like Madonna, Cher, or Pele will not cause problems. Provided that there is at least a diagonal path (for example, via B76-A77-B78), Excel will find the true bottom of the data set.

Blank Cells Trouble
Blank Cells Trouble

In my live Power Excel seminars, this trick always elicits a gasp from half the people in the room. It is my number-one time-saving trick.

Alternatives to Double-Clicking the Fill Handle

This trick is an awesome trick if all you've done to this point is drag the Fill Handle to the bottom of the data set. But there are even faster ways to solve this problem:

  • Use Tables. If you would select one cell in A1:B112 and press Ctrl + T, Excel will format the range as a table. Once you have a table, simply enter the formula in C2. When you press Enter, it will be copied to the bottom.
  • Use a complex but effective keyboard shortcut. This shortcut requires the adjacent column to have no empty cells. While it seems complicated to explain, the people who tell me about this shortcut can do the entire thing in the blink of an eye.

Here are the steps:

  1. From your newly entered formula in C2, press the Left Arrow key to move to cell B2.
  2. Press Ctrl + Down Arrow to move to the last row with data. In this case, B112.
  3. Press the Right Arrow key to return to the bottom of the mostly empty column C.

    Using Keyboard Shortcuts
    Using Keyboard Shortcuts
  4. From cell C112, press Ctrl + Shift + Up Arrow. This selects all of the blank cells next to your data, plus the formula in C2.
  5. Press Ctrl + D to fill the formula in C2 to all of the blanks in the selection. (Note that Ctrl+R fills right, which might be useful in other situations.)

    Ctrl + D to Fill Down
    Ctrl + D to Fill Down

As an alternative, you can get the same results by pressing Ctrl + C before step 1 and replacing step 5 with Ctrl + V.

Thanks to the following people who suggested this tip: D. Carmichael, Shelley Fishel, Dawn Gilbert, @Knutsford_admi, Francis Logan, Michael Ortenberg, Jon Paterson, Mike Sullivan and Greg Lambert Lane suggested Ctrl + D. Bill Hazlett, author of Excel for the Math Classroom, pointed out Ctrl + R. It was Em DeMarco's cartoon posted on Twitter that was the inspiration for hiring illustrators for this book.

Watch Video

  • Tip #1 from the MrExcel XL book - fast ways to copy a formula down a column. Also in this video:
  • Ctrl + Down Arrow to move to end of a block of data
  • Ctrl + Shift + Up Arrow to select to top of a block of data
  • Ctrl + D to fill the formula from the first row of a selection down
  • Double-click the fill handle
  • PROPER function
  • & character for concatenation
  • ROMAN function
  • ARABIC function

Video Transcript

The MrExcel podcast is sponsored by "MrExcel XL", a book with 40+ Excel tips, plus Excel cartoons, cocktails tweets and jokes.

Learn Excel from MrExcel podcast, episode 1974 - Fast Formula Copy!

Alright, well hey, this whole book has a lot of illustrations in it, and the one that got me hooked was this illustration by Emily DeMarco. Emily was in some sort of an Excel seminar, where they were showing how to combine data using the concatenation character, and she was doodling through this, and someone in the audience said: "But isn't this the same as =CONCATENATE?" To whoever's teaching classes, yeah. But who can spell conCATenate? I saw that, I thought that was hilarious.

So the question today is how do we take this formula, I'm not going to talk about this formula, but how do we take this formula, or any formula, and copy it down to hundreds or thousands of rows of data? And before I get to my way, first we should acknowledge the Excel Olympics Method! There's people who can do these five steps like as a single keystroke, it takes less than a second, and if that's you, congratulations, kudos to you, if there's ever an Excel Olympics, I'm nominating you to be on the team. So if you're a keyboard shortcut person, left arrow moves to B2, CTRL+down arrow, right arrow, CTRL+Shift, up arrow selects to the top, and in my favorite one, the one that I didn't really ever use before, was CTRL+D. CTRL+D takes the formula in the top row of the selection, and copies it down. So if you love keyboard shortcuts, by all means, this is the way to go.

But the way that most people solve this problem is, they create that first formula up there in row 2, and they grab the fill handle and they start to drag, right, and it starts going faster and faster and faster and faster. Before you know, it you're hundreds of rows below the bottom of the data. And if you notice, they actually slow down right there. They're not long enough for you to actually react, just long enough for you to see the slowdown. So if you find yourself going down too far, and back up, I call that the fill handle dance, and you're going to love this next trick.

So, here's the faster way, do starts out the exact same way, you have the white cross there, there is the mouse cursor, when you get close, it changes to a black +, right there when you have that black +, double-click! Excel looks to the left, figures out how many rows of data we have today, and copies the formula down to the bottom! Whether it's a 112 rows in this case, or 1.1 million rows, either way, it gets to the bottom.

Alright now, for those of you, who already knew double-click the fill handle, you've known it for a long time: When does double click the fill handle not work? That's right, it's when someone doesn't have a last name! The column to the left has a blank. Instead of Cher, let's put in Prince. So normally, double click the fill handle, it looks to the left, and it's only going to copy down to row 8. Right, because of this blank in row 9. And of course, it's never on the first screen, it's always hundreds of rows down into the data. Well, that used to be the problem, but, silently without any notice in Excel 2010, they now look in all of the columns to the left, to figure out how far to copy the formula down. So it doesn't get fooled by the blank cell in the column to the left! This is by far my favorite tip in all of the Excel, When I'm doing the power Excel seminars, those live seminars, and I get to this about 45 minutes into the day, I almost always get a gasp from a few people into the room, when I double click the fill handle.

Now hey just a fun fact here, the "MrExcel XL" book, you know I grew up back in the day, back in the 70s when there were all sorts of movies, that came out with Roman numerals, so the Godfather part II was the first one in. In modern history, Back to the Future III, Star Wars IV, Rocky V, Star Trek VI, even Final Fantasy VII for 7. You know, and it's funny, Excel actually has a ROMAN function! Alright, so you can ask for the ROMAN of ROW, and that will give you the Roman numerals. What's really weird, because in Excel 2013, if you put in a Roman numeral XL, and you ask for the ARABIC, it'll convert that ROMAN numeral back to regular numeral. So when I got done with my 39th book, and I knew that the 40th book was coming up, just as a tip of the hat back to all of these movies that use Roman numerals, I knew that, it was just going to be "MrExcel XL", because it's my 40th book, although I put the tagline there, =ROMAN(40) , so people would get the joke!

Alright, just a quick Recap of all the things we talked about in this episode: And THIS is just tip #1 from the book. Well hey thanks, to everyone who wrote in suggesting this tip. These are all people who tweeted me in. One I didn't even cover here, Bill Hazlett, point out that CTRL+R is like CTRL+D, if you select one cell and drag to the right, or select to the right, CTRL+R will copy to the right. Go ahead and click that info button in the top right hand corner right now, to read about how you can buy this book.

Thanks for stopping by, we'll see you next time for another netcast from MrExcel!

Title Photo: Yolanda / pixabay