Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default very simple question need to count number of rows

In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but I
would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default very simple question need to count number of rows

If I understand your question, you can use =COUNTA(A1:A1000) adjust range to
your needs
Regards
Cimjet
"sammy" wrote in message
...
In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but I
would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default very simple question need to count number of rows

run this macro:

Sub rowcount()
MsgBox (Selection.Rows.Count)
End Sub

--
Gary''s Student - gsnu2007j


"sammy" wrote:

In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but I
would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default very simple question need to count number of rows

Even Easier: Select one column of data or the range of cells you want to count
Click the arrow next to the AutoSum on the Standard toolbar, then click
Count and press ENTER.

Once you have selected the cells, you may also see "SUM = NNN" on the Status
Bar at the bottom right. If you Right Click on SUM a selection menu will
appear, Left Click on Count and it will tell you how many rows you have
selected.


"sammy" wrote:

In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but I
would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default very simple question need to count number of rows

Yes thats exactly what I wanted thanks

Is there any short handway of doing without having to type in the cell eg
=COUNTA(A1:A1000)

Thanks again
Sammy

"Cimjet" wrote in message
...
If I understand your question, you can use =COUNTA(A1:A1000) adjust range
to your needs
Regards
Cimjet
"sammy" wrote in message
...
In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but
I would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default very simple question need to count number of rows

Why is it exactly what you wanted?

Do you want to count how many rows have data in a selection which may include
blank cells?

The Count on the Status bar will do just that.


Gord Dibben MS Excel MVP

On Thu, 10 Jul 2008 21:39:27 GMT, "sammy" wrote:

Yes thats exactly what I wanted thanks

Is there any short handway of doing without having to type in the cell eg
=COUNTA(A1:A1000)

Thanks again
Sammy

"Cimjet" wrote in message
...
If I understand your question, you can use =COUNTA(A1:A1000) adjust range
to your needs
Regards
Cimjet
"sammy" wrote in message
...
In a xl sheet I just need to count the number of rows

eg highlight and be advised there are 5 rows

hfhfdhfd
hfdhdf
gfgfg
hdfhfdh
djfdjfdj



Now I use the summation to add up the contents of say simple numbers but
I would just like to highlight a range of cells or rows and just have a
simple way of knowing how many rows there are.

Which ever is the simplest method.

Thanks in advance

Sammy






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 Rows ago a particular number was hit rhhince Excel Worksheet Functions 1 January 13th 07 09:06 PM
Count number of rows, where non relevant rows are hidden Pieter Excel Discussion (Misc queries) 2 November 8th 06 12:24 PM
Count rows and insert number to count them. Mex Excel Discussion (Misc queries) 6 August 23rd 06 02:29 AM
Simple Question, display only part of a date in Number format DB Explorer Excel Worksheet Functions 6 March 17th 06 11:47 AM
Simple Way to Count the Number of Duplicate Dates on Multiple Worksheets Dan Excel Discussion (Misc queries) 2 February 23rd 06 11:46 PM


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