Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Numbering rows with filters

My first column is row numbers. When I apply a filter to my spreadsheet the
filter hides rows which in effect changes my row numbers. My first row is now
row 37. Is there a formula that I can use to dynamically generate row numbers
so that my row numbers will automatically adjust after the filter hids rows?
I have tried formulas with relative references, R[-1] , but this method
seems to still reference the hidden rows???
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Numbering rows with filters

Try this...

Assume the filter applies to the range B2:D10. B1:D1 = column headers

Enter this formula in A2 and copy down to A10:

=SUBTOTAL(3,B$2:B2)

Make sure that A2:A10 (or whatever location you use for the row numbers) is
not *included* in the filtered range.

--
Biff
Microsoft Excel MVP


"incbuilder" wrote in message
...
My first column is row numbers. When I apply a filter to my spreadsheet
the
filter hides rows which in effect changes my row numbers. My first row is
now
row 37. Is there a formula that I can use to dynamically generate row
numbers
so that my row numbers will automatically adjust after the filter hids
rows?
I have tried formulas with relative references, R[-1] , but this method
seems to still reference the hidden rows???



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
Deleting rows in Excel 2007 using filters Bentam7 Excel Discussion (Misc queries) 1 March 26th 08 11:50 AM
NUMBERING ROWS CRUSTY Excel Worksheet Functions 2 April 2nd 07 03:48 PM
Numbering Rows [email protected] Excel Discussion (Misc queries) 1 March 2nd 07 02:36 PM
numbering rows olga Charts and Charting in Excel 1 February 19th 07 08:45 AM
How do I do numbering of rows in Excel when there are blank rows? V Excel Discussion (Misc queries) 1 April 3rd 06 11:24 AM


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