Number sequence considering filters

brumby

Active Member
Joined
Apr 1, 2003
Messages
400
Hiya all,

I have a very long list of cells. with everything unfiltered I have a sequential numbering list, 1,2,3,4,5 etc etc

If I decide to filter on something, is it possible for filtered numbering sequence to re adjust taking into account the filter, so originally,

AA1 = 1
AA2 = 2
AA3 = 3
etc etc

when filtered

AA1 = 1
AA553 = 2
AA976 = 3
etc etc?

Many Thanks guys!!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi

One way:

Lets assume that column AA is available/empty:

By hook or by crook, in column AA, enter the number 1 in each cell all the way down to the end of your table.
In AB1 enter: =SUBTOTAL(109,$AA$1:AA1)
And copy AB1 down to end of range
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,181
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top