Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Count cells in a range

Excel XP & Win XP
In VBA, Range(Whatever).Count produces the number of cells in the range,
regardless of the contents of the cells. Is there a worksheet formula that
does the same? Not a UDF, but a plain formula? Thanks for your time. Otto


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default Count cells in a range

Hi Otto,

=CountA(A1:D100)+CountBlank(A1:D100)

Regards,
Per

"Otto Moehrbach" skrev i meddelelsen
...
Excel XP & Win XP
In VBA, Range(Whatever).Count produces the number of cells in the range,
regardless of the contents of the cells. Is there a worksheet formula
that does the same? Not a UDF, but a plain formula? Thanks for your
time. Otto


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Count cells in a range

=rows(a1:c9)*columns(a1:c9)

is another way to count the cells in A1:C9

Otto Moehrbach wrote:

Excel XP & Win XP
In VBA, Range(Whatever).Count produces the number of cells in the range,
regardless of the contents of the cells. Is there a worksheet formula that
does the same? Not a UDF, but a plain formula? Thanks for your time. Otto


--

Dave Peterson
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
Count how many different cells are in a range John T Kennedy[_2_] Excel Discussion (Misc queries) 1 June 25th 09 06:22 PM
Count a range of cells using an IF Access Joe Excel Worksheet Functions 9 July 31st 08 12:26 AM
Count Certain Cells in Specified Range Xavier Excel Worksheet Functions 3 July 25th 06 10:25 PM
count cells in a range fullers Excel Worksheet Functions 2 November 30th 05 01:36 PM
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM


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