View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
D D is offline
external usenet poster
 
Posts: 121
Default Automatically Extend Formula in Count function with Additional Row

I am creating a form in excel about complaint resolution. It is a protected
sheet and only some cells are unlocked to edit. Users will also be able to
add/delete rows. One column asks the user whether or not the complaint was
resolved. A drop down list allows them to choose yes or no. The last row of
the sheet will calculate what percentage of complaints were resolved. An
example is below:

A
1 Yes
2 No
3 Yes
4 Yes
5 No
6 =countif(A1:A5,"Yes")/counta(A1:A5)

If a 6th complaint comes in, I want the user to be able to add another row
and have the total formula (now in A7) extend to read
=countif(A1:A6,"Yes")/counta(A1:A6). The user will not be able to update this
manually as the total column will be locked.

I have read the help topic "Extend formats and fomulas to additional rows"
and I have checked to ensure that the 'Extend data range format and formulas'
box is selected under ToolsOptionsEdit.

If anyone has any other suggestions I would be pleased to try them.

Thanks,
D