Skip to main content

How to quickly apply formula to an entire column or row with/without dragging in Excel?

Sometimes you may need to apply one same formula to an entire column or row in Excel, such as C1=A1*2, C2=A2*2, …, Cn=An*2. It will be quite tedious if you enter the formula in each cell one by one. There are some tricky ways to apply one same formula to an enter column or row quickly.

Supposing you need to apply the formula of =(A1*3+8)/5 in the Column C, and see the following tutorials to apply the same formula to entire Column C.


Apply formula to an entire column by double-clicking AutoFill handle

The easiest way to apply a formula to below cells: Double-clicking on the AutoFill handle (the small square in the lower-right corner) of the formula cell.

Note: The auto-fill feature will stop once it reaches a blank cell.



Apply formula to an entire column or row with dragging AutoFill handle

Dragging the AutoFill handle is the most common way to apply the same formula to an entire column or row in Excel.

Firstly type the formula of =(A1*3+8)/5 in Cell C1, and then drag the AutoFill Handle down to the bottom in Column C, then the formula of =(A1*3+8)/5 is applied in the whole Column C. If you need to apply it to the entire row, you can drag the AutoFill Handle to the far right.
doc apply formula 02

Note: This dragging AutoFill handle method requires formula calculation automatically. You can enable it with clicking Formulas > Calculation Options > Automatic. See below screenshot:



Apply formula to an entire column or row without dragging by shortcut keyboards

Sometimes, the column you want to apply the formula may covers hundreds of rows, and dragging Fill handle may be not convenient. Actually you and use shortcut keyboards to archive it easily in Excel.

Firstly, select the whole Column C, secondly enter the formula =(A1*3+8)/5, and then press the Ctrl + Enter keys together.

If you want apply the formula to an entire row, you can select the entire row first.


Apply formula to an entire column or row without dragging by Fill feature

Actually there is a Fill command on Excel Ribbon to help you apply formula to an entire column or row quickly.

Firstly enter the formula =(A1*3+8)/5 into the Cell C1 (the first cell of column where you will enter the same formula), secondly select the entire Column C, and then click Home > Fill > Down.

If you want to apply the formula to entire row, just enter the formula into the first cell of your entire row, next select the entire row, and then click Home > Fill > Right.


Related articles:

Best Office Productivity Tools

Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

kte tab 201905


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (65)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Bonjour et merci pour le tuto.

Petit question, je sais pas si elle a deja été posée, mais comment faire si j'ai un colonne de 1000 lignes ?
This comment was minimized by the moderator on the site
Hi there,

You can double-click on the small green square in the lower-right corner of the cell which contains the formula. The formula will then fill in the below cells at once.

Amanda
This comment was minimized by the moderator on the site
When dragging function down a column I cant get formula to go past line 30. 31 and down shows #VALUE! any suggestions?
This comment was minimized by the moderator on the site
I need to combine 2 columns (last name first name) into 1 column (name) and then delete the 2 columns that I combined. How do I do that?
This comment was minimized by the moderator on the site
Formula =A1&" "&B2
make sure there's a space between the "
This comment was minimized by the moderator on the site
Hi, i wanted to ask something
I want to count the total Shifts within the Shift column and put it in either Shift 1,Shift 2, or Shift 3 in column Q,R & S.
As you can see in the picture, i already copy the formula from M2 (Circle 2) to below it.
The thing is, i wanted to count the Shift per Each Day.
But as you can see i had a little bit of problem. I had 2 problems :
1. I want to copy the formula to the cell below BUT in a different day, NOT the same day, i searched on the internet and i still don't have a clue on how to do that.
2.If there's no way to do that, is there any way that i can count the shift (i'm using COUNTIF here in Q2,R2 & S2 (Circle 3) ) from 23rd July - 30th July, without including the shift from the same day ? The point is i wanted to retrieve one shift per day, and as you can see if i retrieve the data, it counts as three/four shift per day (Circle 1).

If there's any question about my problem, do feel free to ask !!
Thank you.
This comment was minimized by the moderator on the site
I forgot to attach the picture i think, here it is.
This comment was minimized by the moderator on the site
hi, if the cell are not the same size in a column, then how can i copy the calculation of the top cell of column to the end (there are 200 rows in that column), as example if the first cell contains three rows merged but the second one is of two rows merged then dragging option does not work, what to do then ? pls advise.
This comment was minimized by the moderator on the site
Hi Saif,
Hotkeys may work.
Select the target column or cells you will apply formulas, type the formula in the formula bar, and then press Ctrl + Enter keys simultaneously.
This comment was minimized by the moderator on the site
Pershendetje , si mund te funksionoje formula ne excel pa i dhene save , sepse nuk e shfaq veprimi e kryer pa dhe save. Faleminderit!
This comment was minimized by the moderator on the site
can it be used for to varting values
This comment was minimized by the moderator on the site
How i can use them in VBA?
This comment was minimized by the moderator on the site
Hi Rakesh,
All of methods introduced in the article are very easy. Is the VBA necessary?
This comment was minimized by the moderator on the site
How do i divide the one entire coloumn filled with number by 1000 or any number witout creating nother coloumn?
This comment was minimized by the moderator on the site
Hi Sunny,

Kutools for Excel’s Operation feature can help solve this problem.

(1) Select the column you need to divided by a certain number;

(2) Click Kutools > More > Operation;
(3) In the Operation Tools dialog, specify Division, type in the divisor, and click OK.
This comment was minimized by the moderator on the site
Hi, How can I do sum of two different column with formula? Like I want to sum of A1 and D1 and getting answer on F1 then which formula apply?
This comment was minimized by the moderator on the site
you can use this formula,F1=A1+D1
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations