Excel Problem

sky77

New Member
Joined
Feb 2, 2005
Messages
5
Hi All, Im new here. Wonder if anyone can help me with this. I wanted to have a formula that divides by no of rows at the top.
Example:
Row 1
Row 2
Row 3
Row 4 (I have a Sum formula that divides by number of rows at the top, in this case its 3)

I could have doing the sum formula divide by 3, and then change the 3 to 4 and 5,6,7,8 etc whenever i insert a new row. However, its extremely tedious to do that. Reckon perhaps a countif formula might work, but have no idea how to do it. Apppreciate if any expert here could offer some help.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the Board!

This might do it for you:
Book5
ABCD
11
22
33
44
55
62
76
87
9
103.75
11
12=SUM(Range)/COUNTA(Range)
Sheet1


Hope that helps,

Smitty
 
Upvote 0
Hello sky77,
If you have your sum in ,Say Column D - then you try this formula in Column E "=(D1/(ROW()-1))" (without quotes). This will work except for the first row. (In the first row it is division by zero)
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,304
Members
448,886
Latest member
GBCTeacher

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