Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default COUNTA counting formulas as well.

F17/(AVERAGE(C17,B17))*(12/(COUNTA(B5:B16)))

in B5:B16, I have this formula..
=IF(SUM(Start:End!B5)=0,"",SUM(Start:End!B5))

Now the problem is...the COUNTA function in the first formula above is
counting all the cells in the range B5:B16. I want it to NOT count the cells
which are blank as a result of the formula (The second formula above). I
want it to count only if the result is =0.

Ideas?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default COUNTA counting formulas as well.

Maybe something like this:

=F17/(AVERAGE(C17,B17))*(12/(SUMPRODUCT(--(B5:B16<""))))

HTH,
Paul

--

"Gaurav" wrote in message
...
F17/(AVERAGE(C17,B17))*(12/(COUNTA(B5:B16)))

in B5:B16, I have this formula..
=IF(SUM(Start:End!B5)=0,"",SUM(Start:End!B5))

Now the problem is...the COUNTA function in the first formula above is
counting all the cells in the range B5:B16. I want it to NOT count the
cells which are blank as a result of the formula (The second formula
above). I want it to count only if the result is =0.

Ideas?





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default COUNTA counting formulas as well.

Great!! That worked.

Thanks.

"PCLIVE" wrote in message
...
Maybe something like this:

=F17/(AVERAGE(C17,B17))*(12/(SUMPRODUCT(--(B5:B16<""))))

HTH,
Paul

--

"Gaurav" wrote in message
...
F17/(AVERAGE(C17,B17))*(12/(COUNTA(B5:B16)))

in B5:B16, I have this formula..
=IF(SUM(Start:End!B5)=0,"",SUM(Start:End!B5))

Now the problem is...the COUNTA function in the first formula above is
counting all the cells in the range B5:B16. I want it to NOT count the
cells which are blank as a result of the formula (The second formula
above). I want it to count only if the result is =0.

Ideas?







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
the countA function is counting everything even empty cells ToniNolen Excel Worksheet Functions 2 September 27th 06 07:42 PM
counta function can any one explain the example counting 2 pete the greek Excel Discussion (Misc queries) 4 March 30th 06 10:27 AM
Sumproducts, Counta Lookup Ref Formulas JR573PUTT Excel Discussion (Misc queries) 7 February 15th 06 11:31 PM
Errors in COUNT, COUNTA, COUNTIF when counting merged cells Outback Excel Worksheet Functions 1 February 7th 06 04:29 PM
COUNTA Function not working =COUNTA(C3:C69,"NH") MikeinNH Excel Worksheet Functions 2 November 8th 04 01:19 AM


All times are GMT +1. The time now is 12:59 PM.

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

About Us

"It's about Microsoft Excel"