Modify Formula

C

carl

I use this formula:

=COUNTIF(I5:I40;TRUE)/COUNTA(I5:I40)

I would like to change the formula so that it will use the value in cell A1
(eg 200) like this:

=COUNTIF(I5:I200;TRUE)/COUNTA(I5:I200)

Thank you in advance.
 
L

Lars-Ã…ke Aspelin

carl said:
I use this formula:

=COUNTIF(I5:I40;TRUE)/COUNTA(I5:I40)

I would like to change the formula so that it will use the value in cell
A1
(eg 200) like this:

=COUNTIF(I5:I200;TRUE)/COUNTA(I5:I200)

Thank you in advance.

Try this formula:

=COUNTIF(OFFSET(I5;;;A1-4),TRUE)/COUNTA(OFFSET(I5;;;A1-4))

Hope this helps / Lars-Ã…ke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top