Computer Science, asked by priyanshudas2005, 1 year ago

which of the fuction is used to add the value of several cell ?

Answers

Answered by harshbaweja
1
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
c.Activate
ActiveCell.FormulaR1C1 = "= " & ActiveCell.Formula & "+300" 
Next c

End Sub

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

Notes:

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.

 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 


harshbaweja: welcome
harshbaweja: mark as a brainliest
Similar questions