formulate sequential numering in an auto-filtered column

A

alienscript

Hi,

I have a data worksheet where I auto-filtered the columns.
Example, in a blank auto-filtered column G, I would like to have
auto-numering starting from 1 until the last auto-filtered row.

What formula to use ?

Thanks in advance for help.
 
D

Debra Dalgleish

You can use a formula to calculate the row number. For example, in
cell Gw, enter the following formula:
=SUBTOTAL(3,$A$2:A2)

where column A contains no blank cells.
Copy down to the last row of data.

Note: Don't use this formula in conjunction with the Data>Subtotal
feature. When you choose to Remove Subtotals, it deletes the lines that
contain a Subtotal formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top