Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default count cells with values

What is the line of code to count the number of cells that are not null in a
row of a worksheet?

Example: count cells with values in Sheet1, Row1?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default count cells with values



N = Application.COUNTA(Worksheets("Sheet1").Rows(1))


On Wed, 9 Mar 2005 18:11:01 -0800, "Markantesp"
wrote:

What is the line of code to count the number of cells that are not null in a
row of a worksheet?

Example: count cells with values in Sheet1, Row1?


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 cells with values x and <y jimbob Excel Discussion (Misc queries) 6 July 5th 06 03:39 PM
How do I count cells with non zero values? Ryan Excel Discussion (Misc queries) 1 November 4th 05 11:12 PM
Count cells with specific values in the cells next to them? Christopher Excel Worksheet Functions 2 September 8th 05 05:49 PM
Count values in Cells Across Shari[_4_] Excel Programming 1 October 22nd 04 06:04 AM
Using the COUNT funciton to count cells with values wjsubs[_5_] Excel Programming 4 July 9th 04 05:00 PM


All times are GMT +1. The time now is 11:58 PM.

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"