Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Counting Marked Cells

Is there a function available that would count the number of
cells that are not blank?

Example: Attendance sheet:

A3 A4 A5 A6 A7
M T W Th F
X X X X =<somefunction(A3:A7)
<somefunction would yield '4' in this case.

Regards,



Fred

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Counting Marked Cells

Hi Fred,

=COUNTA(A3:A7)

But, in your example, why not 5 as result?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Fred Atkinson" wrote in message ...
| Is there a function available that would count the number of
| cells that are not blank?
|
| Example: Attendance sheet:
|
| A3 A4 A5 A6 A7
| M T W Th F
| X X X X =<somefunction(A3:A7)
| <somefunction would yield '4' in this case.
|
| Regards,
|
|
|
| Fred
|


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Counting Marked Cells

Hey Pal

I suggest using =counta(offset
=count(offset(A1;2;0;3;5))

A1 is the table-reference celle
2 is number of rows beneath table-reference cell = upper left cell in
offset range area
0 is number of columns right to table-reference cell = upper left cell
in offset range area
3 is number of rows in the offset range area
5 is number of columns in the offset range area

By making the constants 2,0,3 and 5 linked cell, the formula will count
the entries in a dynamic range - I think.....

Example: Attendance sheet:


A B C D
E
1
2
3 A3 A4 A5 A6 A7
4 M T W Th F
5 X X X X





Fred Atkinson skrev:
Is there a function available that would count the number of
cells that are not blank?

Example: Attendance sheet:

A3 A4 A5 A6 A7
M T W Th F
X X X X =<somefunction(A3:A7)
<somefunction would yield '4' in this case.

Regards,



Fred


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Counting Marked Cells

Because only four of the five days are marked.

Regards,



Fred

On Fri, 8 Dec 2006 12:25:02 +0100, "Niek Otten"
wrote:

Hi Fred,

=COUNTA(A3:A7)

But, in your example, why not 5 as result?

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 cells based on conditional formatting Marc Excel Discussion (Misc queries) 3 July 5th 06 08:37 PM
counting colored cells James P Excel Discussion (Misc queries) 2 June 14th 06 05:39 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
Counting filled cells in excel Alex Wilson Excel Worksheet Functions 5 September 19th 05 11:01 PM
Counting cells, similar values SteW Excel Worksheet Functions 7 May 12th 05 07:05 PM


All times are GMT +1. The time now is 11:07 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"