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 / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Function to count cells that are not empty?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tech.Zoan - 28 Jan 2008 18:30 GMT
Is there a function that will return a value showing me how many cells
within a specified range are not empty?

For example... say I have a column called Profit Amount and there's 10
amounts shown within a range of 40 rows.  Is there a function that
will look at all 40 cells in that column and return a value telling me
there's only 10 cells that have an amount in them?

TIA
Pete_UK - 28 Jan 2008 18:43 GMT
Try this:

=COUNTIF(A1:A40,"<>"&"")

Hope this helps.

Pete

> Is there a function that will return a value showing me how many cells
> within a specified range are not empty?
[quoted text clipped - 5 lines]
>
> TIA
Sandy Mann - 28 Jan 2008 18:58 GMT
Pete,

Wont just:

=COUNTIF(A1:A40,"<>")

suffice?

Signature

Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

Try this:

=COUNTIF(A1:A40,"<>"&"")

Hope this helps.

Pete

On Jan 28, 6:30 pm, "Tech.Zoan" <Tech.Z...@gmail.com> wrote:
> Is there a function that will return a value showing me how many cells
> within a specified range are not empty?
[quoted text clipped - 5 lines]
>
> TIA
Pete_UK - 28 Jan 2008 19:09 GMT
I wasn't sure, Sandy.

Pete

> Pete,
>
[quoted text clipped - 35 lines]
>
> - Show quoted text -
Ron Rosenfeld - 28 Jan 2008 18:57 GMT
>Is there a function that will return a value showing me how many cells
>within a specified range are not empty?
[quoted text clipped - 5 lines]
>
>TIA

If all of the values of interest are numbers, then you can use the COUNT
worksheet function
--ron
RagDyer - 28 Jan 2008 19:04 GMT
Try this:

=COUNTA(A1:A40)
Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> Is there a function that will return a value showing me how many cells
> within a specified range are not empty?
[quoted text clipped - 5 lines]
>
> TIA
Tech.Zoan - 28 Jan 2008 20:15 GMT
Thank you both!  That worked perfectly!

> Try this:
>
[quoted text clipped - 17 lines]
>
> > TIA
RagDyer - 28 Jan 2008 21:18 GMT
Appreciate the feed-back.
Signature

Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> Thank you both!  That worked perfectly!
>
[quoted text clipped - 19 lines]
>>
>> > TIA
 
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.