Dynamic count rows then divide formula needed

halesowenmum

Active Member
Joined
Oct 20, 2010
Messages
383
Office Version
  1. 365
Platform
  1. Windows
Hi

I need a formula to take what's here and 'automate' it (that's the only way I know to describe it).

Here we've got a manually entered range but it's this bit that needs to just do it's thing without being manually entered and I just don't know how to do it. It needs to accommodate changing numbers of rows where the rows are used to calculate the overall %. There are too many of these sections in the spreadsheet and they all have variable numbers of rows involved, to have a manually entered formula which will need manually editing many times.

Is there a way of doing what I need with a formula or VBA???

EF[My comment]
14Overall progress13%
Formula in F14 [=SUM(F14:F66)/COUNT(F14:F16)] sums the range then divides by number of rows in the range that contain values not formulas. This total in G is meant to be formed from the underlying values provided in rows 15 and 16 - only when all were complete would the total in G14 = 100%. The formula doesn't count F17 as it contains a formula so it stops at F16.
15This item20%This value is manually entered by the user
16This item5%This value is manually entered by the user
17Overall progress66%This value is manually entered by the user
18This item100%The number of rows can be different in each case, rows can be removed, new rows can be added
19This item90%This value is manually entered by the user
20This item70%This value is manually entered by the user
21This item3%This value is manually entered by the user
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Would INDEX and COUNT work somehow - I just don't know how to construct the formula....
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,024
Members
449,092
Latest member
ikke

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