Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

COUNTA counting formulas as well.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gaurav - 01 Feb 2008 19:49 GMT
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?
PCLIVE - 01 Feb 2008 19:55 GMT
Maybe something like this:

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

HTH,
Paul

> F17/(AVERAGE(C17,B17))*(12/(COUNTA(B5:B16)))
>
[quoted text clipped - 7 lines]
>
> Ideas?
Gaurav - 01 Feb 2008 20:10 GMT
Great!! That worked.

Thanks.

> Maybe something like this:
>
[quoted text clipped - 14 lines]
>>
>> Ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.