Skip to main content

How to add values to multiple cells in Excel?

Author: Kelly Last Modified: 2013-06-03

If you want to add a value to multiple cells in Excel, the following methods will help you process it easily and quickly:

arrow blue right bubble Add Value to multiple cells with VBA

Using macros can ease many repeated processing, and make our work easier and faster. So does the following macro.

Step 1: Select the cells that you will add a value to.

Step 2: Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

Step 3: Click Insert > Module, and paste the following VBA in the Module Window.

Sub Add2Formula()
' Add 300

For Each c In Selection
ActiveCell.FormulaR1C1 = "= " & ActiveCell.Formula & "+300"
Next c

End Sub

Step 4: Press the F5 key to run this macro.


1. This macro is only valid for cells containing no formulas within them.

2. This macro will add 300 to all selected cells. If you want to add other value, please replace the 300 with other value.

arrow blue right bubble Add value to multiple cells with Kutools for Excel

Kutools for Excel provides us with an alternate easy-to-use method, and its Operation Tools can help us add value to multiple cells easily.

Kutools for Excel includes more than 80 handy Excel tools. Free to try with no limitation in 30 days. Get it Now.

Step 1: Select the cells that you will add the same value to.

Step 2: Click the Kutools > Operation > Operation Tools …. See screenshot:

Step 3: Select the Addition from Operation section, and enter the value you will add to selected cells. See screenshot:

Step 4: Check the Create formulas option.

Step 5: Click OK.

In Operation Tools,
select Addition, enter 300, and click OK.

Kutools for Excel's Operation Tools supports all kinds of mathematical operation to all selected cells together:

  • Addition: Plus a specified operand.
  • Subtraction: Subtract specified operand.
  • Multiplication: Each value of cells multiplied by the operand.
  • Division: Each value of cells divided by the operand.
  • Exponentiation: Each value of cell power the operand.
  • Rounding: Round each value of cell to the decimal numbers (specified operand).
  • Function: Applies a function to each value of cell.
  • Custom: Create a formula-like expression and apply to each value of cell.

Related Article

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
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...


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 (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks a lot. It is working 💖
This comment was minimized by the moderator on the site
If you want to include cells with formula, you could try, which is only a slight modification from the original. But adding numbers to an established formula could be dangerous so beware:

Sub Add2Formula()
' Add a number
Dim formulae As String
Dim a_number As Double

a_number = InputBox("what number to increment")

For Each cell In Selection
formulae = ActiveCell.Formula
' gets rid of formula non-essentials that could cause errors
formulae = Replace(formulae, "'", "")
formulae = Replace(formulae, "=", "")

If formulae = "" Then
ActiveCell.Formula = "= " & ActiveCell.Formula & "+" & a_number
ActiveCell.Formula = "= " & formulae & "+" & a_number
End If
Next cell

End Sub

This could be easily modified to skip blank cells, and to skip text cells you could probably evaluate the value of the cell, and when it errors you could go to the next cell. Hope this helps.
This comment was minimized by the moderator on the site
How can I get this VBA formula to skip blank and text cells? Thanks
This comment was minimized by the moderator on the site
sir.iam doing survey list in excel if a=200,b=100,c=50,d=15.e=10 for 3 questions if he selects a,b,b means 200+100+100=400 and Description should be good to do this one
This comment was minimized by the moderator on the site
this tool is so useful and can trust the product.
This comment was minimized by the moderator on the site
any reply? will this site answer our enquiry?
This comment was minimized by the moderator on the site
Dear Expert Have a question here. How to increase age automatically for each year? Thanks
This comment was minimized by the moderator on the site
Add Value to multiple cells with VBA's techque is very useful Thanks
This comment was minimized by the moderator on the site
sir if a1=100 b1=100 and after dat we want to insert 100 again in a1 den b1 should automatically update to 200 means a1 value added in b1 and so on and on. how it is possibe we have to take the two cells only. sir plz solve dis problem
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations