Thread
:
Continuing a certain sequence in Excel
View Single Post
04-01-2018, 12:09 AM
Pecoflyer
Windows 7 64bit
Office 2010 64bit
Expert
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Hi
enter 01-01-01 in A1 then in A2
Code:
="01-"&TEXT(CEILING(ROW()/5,1),"00")&"-"&TEXT(IF(RIGHT(A1,2)*1=5,1,RIGHT(A1,2)+1),"00")
and pull down as needed There should be something more elegant, though
Edit : supposing you start on row 1
__________________
Using O365 v2503
- Did you know you can thank someone who helped you
? Click on the tiny scale in the right upper hand corner of your helper's post
Last edited by Pecoflyer; 04-01-2018 at
06:42 AM
.
Pecoflyer
View Public Profile
Find all posts by Pecoflyer