Increase range by %

leatherface250

New Member
Joined
Aug 2, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
123.jpg
Hello, new to Excel and have a question. I would like to be able to input a percentage in the top cell which automatically calculates the percentage increase to all the other selected cells below it. Is there a formula for this? For example, if I put 2% in the above cell, the rest of the column increases by 2% (1836 in first cell, and so on.) Any help greatly appreciated, thanks!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Welcome to the MrExcel board!

If you are happy to have the results in another column then you could do it like below.
If you want the original numbers over-written, then a vba solution would be required. Post back if you need/want that type of solution.

22 08 02.xlsm
AB
110%
2
3500550
42,3002,530
54044
Increase
Cell Formulas
RangeFormula
B3:B5B3=A3*(1+A$1)
 
Upvote 0
I would like the original numbers overwritten, so VBA solution would be perfect. Thanks!
 
Upvote 0
Does it really have to involve selecting the cells first? For one thing, Increasing "Quarter 1" by a percentage would be tricky.;)
Are the numbers that need to be increased in a particular range?
.. or is there a variable number of rows but it is all the numbers down to the first formula?
.. or some other way for the code to work out which cells to apply the process to?
 
Upvote 0
Goes in the sheet module.
It is triggered by changing A1. Fill in a 2 for 2 percent, a 5 for five percent etc.
The range it works on is A3 to the cell above the last cell that has the sum formula
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Long
    If Target.Address = "$A$1" Then
        For i = 3 To Cells(Rows.Count, 1).End(xlUp).Offset(-1).Row
            Cells(i, 1).Value = Cells(i, 1).Value + (Cells(i, 1).Value / 100) * Cells(1, 1).Value
        Next i
    End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,428
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top