Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

renumber rows after filtering

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Renumber rows after filtering

Renumber rows after filtering

ResolvedVersion 2013

Sue has attended:
Excel Intermediate course
Word Intermediate course

Renumber rows after filtering

Hi.
I would like to know if there is a way for Excel to renumber rows when a filter is applied?
e.g before filters

Number Name
1 John
2 Paul
3 Patrick
4 Simon

If I apply a filter that only names beginning with P are shown then Paul would be number 1 and Patrick would be 2.

Many thanks

Sue

RE: Renumber rows after filtering

Dear Sue,

Thank you for the question.

You can use the subtotal function to do what you want.

I have attached a workbook where you on sheet 1 can see an example or you can follow the link below to a website where you can find the method.

http://blog.contextures.com/archives/2010/03/19/number-the-visible-rows-in-excel-autofilter/




Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Read more: https://www.stl-training.co.uk/post-34560-formula-shows-quarters.html #ixzz2wE8kbKnu

Attached files...

filterExample.xlsx

RE: Renumber rows after filtering

Thank you so much Jens. Just perfect!

Kind regards
Sue

Excel tip:

Outlining - Grouping rows or columns

Highlight want you want to group and press ALT + SHIFT + left cursor arrow

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.