If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Count rows and column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-14-07, 17:47
Julita Julita is offline
Registered User
 
Join Date: Nov 2005
Posts: 113
Count rows and column

Hey, can anybody help me? I would like to count how many rows and columns that has a value.
Reply With Quote
  #2 (permalink)  
Old 03-14-07, 19:57
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Example, Column A contains the data you want to count.
Now in column B put this formula:
=iif(A1 = "",0,1)
Apply all the way down the sheet and then sum at the bottom.

Not the prettiest method by any means but it works and I can't think of a better one right now
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 03-14-07, 22:18
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy. What do you mean by "value"? Any character, number, non-numerical?
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #4 (permalink)  
Old 03-15-07, 06:39
MikeTheBike MikeTheBike is offline
Registered User
 
Join Date: Apr 2004
Location: Derbyshire, UK
Posts: 714
Hi

As shades pointed out, it can/will depend on what you define as a value, but COUNTA() and COUNTBLANK() functions may also be useful, perhaps with ISNUMBER() ??


MTB
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On