Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jimbob
 
Posts: n/a
Default Counting cells with data


How do I "count" the number of cells with a value in them? I have a
spreadsheet with 277 rows, but only some of these have data. I want to
find the "AVERAGE" of the cells with data. If I use the AVERGAE
function it uses the total number of cells (277) but some of these are
blank which skews the value. Thank in advance. So glad I found this
site. :)


--
jimbob
------------------------------------------------------------------------
jimbob's Profile: http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=488409

  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Counting cells with data


Hi,

Use the COUNTA function.

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=488409

  #3   Report Post  
Posted to microsoft.public.excel.misc
jimbob
 
Posts: n/a
Default Counting cells with data


Thank you. That works!


--
jimbob
------------------------------------------------------------------------
jimbob's Profile: http://www.excelforum.com/member.php...o&userid=29107
View this thread: http://www.excelforum.com/showthread...hreadid=488409

  #4   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default Counting cells with data

AVERAGE function ignores blanks and non-numerics so the value is not skewed if
the blanks are truly blanks or are non-numerics.

Try it.

Enter numbers in A1:A10 and =AVERAGE(A1:A10) in A11

Insert 5 blank rows at A2:A6

The average returned is now =AVARAGE(A1:A16) and returns the same result.


Gord Dibben Excel MVP

On Sat, 26 Nov 2005 15:57:24 -0600, jimbob
wrote:


How do I "count" the number of cells with a value in them? I have a
spreadsheet with 277 rows, but only some of these have data. I want to
find the "AVERAGE" of the cells with data. If I use the AVERGAE
function it uses the total number of cells (277) but some of these are
blank which skews the value. Thank in advance. So glad I found this
site. :)


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
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 2 May 2nd 05 08:53 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM
Macro to delete data in 'green' cells only Steve Excel Worksheet Functions 7 March 19th 05 01:40 PM
How do I copy data (word) into respective cells when the data bei. awg9tech New Users to Excel 1 January 12th 05 11:26 AM


All times are GMT +1. The time now is 05:55 AM.

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

About Us

"It's about Microsoft Excel"