#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Counting cells

I wanted to count the number of cells in a range, where the range consisted
of multiple areas:

A1:A10, B12, C:7:C14

Some cells have entries and some do not. Some entries are numbers and some
are not.

So, I tried

=CountA(A1:A10, B12, C:7:C14) + CountBlank(A1:A10, B12, C:7:C14)

However, CountBlank appears not to accept multiple areas!!!

Is there an alternate equation that would work? If not, I can always write
a user defined function, but would like to avoid doing so.

Bob


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 116
Default Counting cells

click on the cell where you want your final total to be. then click on the
little "sum" button on the toolbar. Now, click on the first range of numbers
you want to add. Now, hold down "Ctrl" and continue; click ranges,
individual cells, whatever you want to add; you'll see them all have the
flashing dotted lines around them - keep doing this until you get to the end.
Finally hit your "Enter" button and your total should be in that first cell
where I told you click.

--
sherry


"Bob Flanagan" wrote:

I wanted to count the number of cells in a range, where the range consisted
of multiple areas:

A1:A10, B12, C:7:C14

Some cells have entries and some do not. Some entries are numbers and some
are not.

So, I tried

=CountA(A1:A10, B12, C:7:C14) + CountBlank(A1:A10, B12, C:7:C14)

However, CountBlank appears not to accept multiple areas!!!

Is there an alternate equation that would work? If not, I can always write
a user defined function, but would like to avoid doing so.

Bob



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
Counting the number of cells between 2 seperate cells mpenkala Excel Discussion (Misc queries) 2 April 16th 08 05:04 PM
counting cells that are 0 in a range of non-contiguous cells Mark Excel Worksheet Functions 9 March 14th 07 02:45 PM
Query counting cells in a row that exactly match cells in another Marlsnz Excel Discussion (Misc queries) 1 June 2nd 06 07:08 AM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM


All times are GMT +1. The time now is 11:19 AM.

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"