Numbering cells while skipping cells that already have contents

bmv505

New Member
Joined
Sep 28, 2022
Messages
20
Office Version
  1. 365
I have a spreadsheet that is tracking the number of plays in a football drive. I code the individual stat entries by action. So there is drive start = “Drive”, kickoff = “KO”, timeout= “TO”, etc. The actual plays are numbered by what play they are in the drive, so “Drive” restarts the counting. However, I want to skip over the non-offensive entries such as a penalty that results in a “NO Play.” Is there a formula or function that would allow me to do this to a whole sheet without going through and manually entering the number?
 

Attachments

  • B27F3D11-2DF6-44A7-8431-14C7F2E8CAA8.png
    B27F3D11-2DF6-44A7-8431-14C7F2E8CAA8.png
    56.3 KB · Views: 8
  • 260C7DB9-9819-4337-8397-647F2652293F.png
    260C7DB9-9819-4337-8397-647F2652293F.png
    53.6 KB · Views: 8

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,215,159
Messages
6,123,345
Members
449,097
Latest member
thnirmitha

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