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.
Apply formula to an entire column or row with dragging AutoFill handle
Apply formula to an entire column or row without dragging by shortcut keyboards
Apply formula to an entire column or row without dragging by Fill feature
Apply formula to an entire column or row without dragging by Kutools for Excel
Copy formulas exactly/ statically from one column to another without changing cell references in Excel
Kutools for Excel Exact Copy utility can help you easily copy multiple formulas exactly without changing cell references in Excel, preventing relative cell references updating automatically.
Kutools for Excel includes more than 120 handy Excel tools. Free to try with no limitation in 30 days. Read More Free Download Now
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 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.
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. See left screenshot.
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.
Apply formula to an entire column or row without dragging by Kutools for Excel
All of above methods are to apply formulas to blank column or row. Sometimes you may need to apply the same formula to an entire column or row with data. How to process? You can try the Kutools for Excel's Operation Tools.
Kutools for Excel - Combines More Than 120 Advanced Functions and Tools for Microsoft Excel |
1. Select the column or row that you will work with (in this case select the Column A), and click Kutools > More > Operation. See left screenshot.
2. In the Operation Tools dialog box, select the Custom in Operation box, enter (?*3+8)/5 in the blank box in the Custom section, and click the OK button. See screenshot:
And then the whole column are filled with the formula of =(?*3+8)/5, and the ? refers to the value in corresponding cell. See below screenshots:
Notes:
(1) If you check the Create formulas option, the results will be in the form of formulas for each cell.
(2) If the Skip formula cells option is checked, the operation will skip and automatically ignore the formula cells in the selected range.
The Operation Tools can perform common math operations in multiple cells together, such as addition, subtraction, multiplication and division, etc.
Read more
Easily add prefix or suffix to all cells in an entire column or row in Excel
It’s easy to fill all cells with same content in a column with the AutoFill feature. But, how to add same prefix or suffix to all cells in a column? Comparing to type the prefix or suffix to each cell separately, Kutools for Excel’s Add Text utility provides an easy workaround to get it done with several clicks only. See screenshot:
Kutools for Excel includes more than 120 handy Excel tools. Free to try with no limitation in 30 days. Read More Free Download Now
Related articles:
Copy formula without changing its cell references in Excel
Show formulas in cells of specified range/active sheet/all sheets in Excel
Recommended Productivity Tools
Office Tab
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Kutools for Excel
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
200 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...
Comments
.
I have this formula for comparing text cells. But it works only for row 5 if i introduce values for above it shows me L4 value.
Can you help me with this?
=CONCATENATE(IN DIRECT("D"&ROW( ))," ",INDIRECT("E"&ROW()))
I wanted the system to take the text from columns D and E in the current row and put them in the column with the formula. I was working with text. You may need to incorporate the SUM function if you want to combine numbers. Row() tells it to use the current row number. Good luck!
But what will do when row D have not continuously series i.e. if any blank cell available there and i want print above cell value in blank cell and then concatenate the both cell
I am not be able to drag below mentioned formula
=E15*E11/E63
I want E11 and E63 to remain same only E15 to be change as cell wise
pls help
regards
Harish Balam
Select cell D2
Click on the Copy button in the Home ribbon (or press Control+C on the keyboard) to copy the cell formula
Mark cells D3 through D11 (put the mouse on cell D3, click the left mouse button and leave it pressed, then move the mouse to cell D11 and release the mouse button)
Click on the Paste button in the Home ribbon (or press Control+V on the keyboard) to paste the formula to the cells you selected
And the formula is automatically applied to all the selected cells.
http://www.excel-formulas.com/mathematical-excel-formulas/apply-formula-to-row.php
Worked for me, it should for you too.
Please can you tell me how to do a forumula to work out the number of days using dates eg 09/06/12 - 08/05/12 - when i put in the forumulation it brings up a date instead of number of days.
rEALLY helped
I want to add formula in a xls sheet as i have dat like
=Sheet1!A1,=Sheet1!A2,=Sheet1!A3........
=Sheet2!A1,=Sheet2!A2,=Sheet2!A3........
=Sheet3!A1,=Sheet3!A2,=Sheet3!A3........
.
.
.
i want to devide complete data by 1000
ex =Sheet2!A1/1000,=Sheet2!A2/1000,=Sheet2!A3/1000........
.
.
.
.
.
.
I am trying to create a spreadsheet, I want the numbers to go kind of like back to front? so when I press control N the first number for example will go on the line below, so basically the numbers start from small to big not big to small.
I have got another spreadsheet that does do this however I cant remember how it was done and cant find out how to do it anywhere.
I know I didn't explain that very well but does anyone know what I mean?
I want to copy formula, if rate 152,458,496 and Quantity 1,2,3 in first line then second line quntity 4,5,3 then third line 8,7,9 then forth line 7,9,6 so i want to calculate rate * every quntity. for example 152*1+152*2+152 *3=2280.i want this formula past in every column so how do i do ?
A101:A1048756
Then press Enter and then Delete
This worked for me, and I got it from at:
http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macexcel/how-do-i-delete-extra-rows-in-excel/5a4e26b2-39fb-47dd-a8c8-b0a5c4d1b9b4
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.
this appears to work only only if the formula is in the first cell; is there any way to use the Fill feature (for rows) starting in a cell other than the first one?
Select the whole column with the #Div/0 you don't want.
Go to Home > Find & Select > Go to Special
Toggle off Comments and Toggle On Formulas; Remove all checkmarks except the one in front of Errors.
Click OK.
You are now back to your column. You have "Found" all the "Div/0" cells.
Click the delete key and they are now blank.
Thanks