#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Modify Formula

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Modify Formula


"carl" wrote in message
...
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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Modify Formula

see your other post

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Formula carl Excel Worksheet Functions 2 November 26th 08 06:24 PM
Modify a formula? tgcali Excel Discussion (Misc queries) 3 September 9th 08 07:43 PM
Modify a Formula carl Excel Worksheet Functions 1 August 25th 08 08:32 PM
Modify A Formula carl Excel Worksheet Functions 5 March 23rd 08 09:48 PM
Modify A formula carl Excel Worksheet Functions 1 March 14th 06 05:46 PM


All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"