Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
abr abr is offline
external usenet poster
 
Posts: 2
Default How do I find out how many rows I have selected?

If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do I find out how many rows I have selected?

  1. Select the group of rows you want to count by clicking on the first row and dragging down to the last row you want to select.
  2. Hold down the CTRL key and select additional groups of rows by clicking on the first row of each group and dragging down to the last row of each group.
  3. Look at the bottom right corner of the Excel window. You should see a count of the number of rows you have selected.

Alternatively, you can also look at the Name Box, which is located to the left of the formula bar. It will display the range of cells you have selected, including the number of rows and columns.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default How do I find out how many rows I have selected?

Hi ABR,

Right click on the status bar and select Count.
Then select your cells and look at the right side of the status bar.

The status bar is at the bottom of your screen and usually says Ready
on the left side and has 6 or 7 boxes on the right side which may or
may not be empty depending on your settings.

HTH
Martin

"ABR" wrote in message
...
If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of
rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default How do I find out how many rows I have selected?

Keep in mind that Martin's suggestion will count the number of cells
that contain data within the selected rows. It will not just count
the number of selected rows. If it is truly the number of selected
rows that you are after, you'll need to use VBA.
ABR wrote:
If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default How do I find out how many rows I have selected?

In the immediate window i entered:

? Selection.count/256 (256 for Excel 2003 and Prior)

Got me the right answer

Jim May

"ABR" wrote:

If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default How do I find out how many rows I have selected?

Jim, that is what I was getting ready to suggest as well.
Sub likeThis()
MsgBox = Selection.Count / 256
End Sub

Jim May wrote:
In the immediate window i entered:

? Selection.count/256 (256 for Excel 2003 and Prior)

Got me the right answer

Jim May

"ABR" wrote:

If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default How do I find out how many rows I have selected?

yeah, and i suppose it would be

MsgBox = Selection.Count / 64000

in xl 2007.....



"JW" wrote:

Jim, that is what I was getting ready to suggest as well.
Sub likeThis()
MsgBox = Selection.Count / 256
End Sub

Jim May wrote:
In the immediate window i entered:

? Selection.count/256 (256 for Excel 2003 and Prior)

Got me the right answer

Jim May

"ABR" wrote:

If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I find out how many rows I have selected?

If you're looking for a VBA solution to count the number of rows selected:

Option Explicit
Sub testme02()
MsgBox Intersect(Selection.EntireRow, ActiveSheet.Columns(1)).Cells.Count
End Sub

I'm not sure what an item is in your description.


ABR wrote:

If I select a group of rows, and then add more groups of rows to the
selection by holding down CTRL, How can I find out the total number of rows
selected?

Is there a way of identifying how many items have been selected without
counting them yourself?

Thanks!


--

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
How do I print selected rows? kmf New Users to Excel 2 July 31st 06 06:53 PM
Avg Times in MOD fx using selected rows vldavis809 Excel Worksheet Functions 2 July 7th 06 10:08 AM
How many rows have I selected ? Paul Ho Excel Worksheet Functions 6 November 26th 05 02:43 PM
how many rows did I selected Paul Ho Excel Worksheet Functions 1 November 26th 05 06:59 AM
How do you find the method of selected points? method of selected points Setting up and Configuration of Excel 0 November 2nd 05 03:02 PM


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