Automatically add value to divide by

MrPJ_Harper

New Member
Joined
Mar 29, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
User

You
Hello all :

column t 29 calculates the Risk Reward Ratio "rrr" by getting values from =SUM(Q29)/-N29. I want u29 to calculate the rrr average. I do this by entering the following code =SUM(T29)/1. When I add new values in row 30 I want excel to automatically divide the value by 2 in u30, then again by 3 in u31. I have to manualy change dividing number by 1 then 2 then 3... how can I get excell to do this automatically?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Welcome to the MrExcel board!

Perhaps you could give us some sample data & expected results with XL2BB so we had a better idea of what you have and what you want?
 
Upvote 0
Also, there is no need to put single values in a SUM function.

Your first one could be done as =Q29/-N29
 
Upvote 0
Thanks
Welcome to the MrExcel board!

Perhaps you could give us some sample data & expected results with XL2BB so we had a better idea of what you have and what you want?
Thanks for the welcome :)

I am not winning with xl2bb.

In the image below is an example. In N column I have to manually select the range and then in this example divide by 5. If I had to add more data in row 10 then I would have to manually select the range from m5 to m10 then divide by 6. How can I get excel to do this automatically?

1711988866870.png
 
Upvote 0
How about in N5 dragged down
Excel Formula:
=average(M$5:M5)
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0
For future reference

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Automatically add range and divide by number.
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,130
Messages
6,123,220
Members
449,091
Latest member
jeremy_bp001

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