Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to add serial numbers to rows but skipping certain

Hi everyone! I'm looking for a way to add serial numbers to rows while skipping rows that contain certain texts. I tried the ROWS and COUNTAIF functions, but to no avail.


I hope the numbers in my spreadsheet could look like this: User uploaded file


Regards

Posted on Nov 15, 2018 8:15 PM

Reply
Question marked as Best reply

Posted on Nov 15, 2018 8:38 PM

Hi M'


Does this do what you want?

User uploaded file

The formula, as written, depends on the continuation of the pattern exhibited in column B. (All 'headings' start with "TPO" followed by other characters.)


A1: IF(LEFT(B1,3)="TPO","",COUNTIF(B$1:B1,"<>TPO*"))


Fill down as needed.


Regards,

Barry

3 replies

There are no replies.

How to add serial numbers to rows but skipping certain

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.