Continuing Number Series with Word excluding blanks

dibison18

New Member
Joined
Jan 25, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
This might seem like a simple question but I am having a hard time figuring it out. Below is a table where I want to delete "Tab 3" (in cell C3) and I want the following cells C4 and C5 to auto-re-number to Tab 3 and Tab 4, respectively. I want to be able to do this on a continual basis so sometimes I want to delete cell C2 and C4 and have cells C3 and C5 auto-re-numbered. At times, I might want to also delete cell C1 and want the cells after to auto-re-number. Thanks for any help you can provide!

9 - 10 AMCall Tim Tab 1
10:15 - 10:45 AMMeeting BanditTab 2
11:00 - 11:15 AMChicken DanceTab 3
11:30 AM - 12:00 PMFeastTab 4
12:30 PM - 1:00 PMNoithingTab 5
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Maybe:

Book1
ABC
1
29 - 10 AMCall TimTab 1
310:15 - 10:45 AMMeeting BanditTab 2
411:00 - 11:15 AMChicken DanceTab 3
511:30 AM - 12:00 PMFeastTab 4
612:30 PM - 1:00 PMNoithingTab 5
Sheet10
Cell Formulas
RangeFormula
C2:C6C2="Tab "&ROWS(C$1:C2)-COUNTBLANK(C$1:C1)
 
Upvote 0
If I understand what you want correctly, and assuming your data starts on Row 1 (meaning there are no headers), type "Tab 1" in cell C1 and then put this formula in cell C2 and copy it down to the bottom of your data...
Excel Formula:
="Tab "&COUNTA(C$1:C1)+1
If you have a header in cell C1 and your data actually starts on Row 2, then put this formula in cell C2 and copy it down...
Excel Formula:
="Tab "&COUNTA(C$1:C1)
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,693
Members
449,048
Latest member
81jamesacct

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