Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2018, 11:18 PM
rooly rooly is offline Continuing a certain sequence in Excel Windows 10 Continuing a certain sequence in Excel Office 2016
Novice
Continuing a certain sequence in Excel
 
Join Date: Mar 2018
Posts: 15
rooly is on a distinguished road
Default Continuing a certain sequence in Excel

Hi.


Is there a way to continue the following string of numbers in this order , that will continue automatically in Excel? The character - must appear ..

01-01-01
01-01-02
01-01-03
01-01-04
01-01-05
01-02-01
01-02-02
01-02-03
01-02-04
01-02-05
Reply With Quote
  #2  
Old 04-01-2018, 12:09 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
__________________
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.
Reply With Quote
  #3  
Old 04-01-2018, 12:27 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Post deleted
__________________
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:39 AM. Reason: Link to cross post added by OP
Reply With Quote
  #4  
Old 04-01-2018, 02:20 AM
ArviLaanemets ArviLaanemets is offline Continuing a certain sequence in Excel Windows 8 Continuing a certain sequence in Excel Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

In attachement is an example.
Attached Files
File Type: xlsx TextCodeExample.xlsx (13.4 KB, 12 views)
Reply With Quote
  #5  
Old 04-01-2018, 04:58 AM
rooly rooly is offline Continuing a certain sequence in Excel Windows 10 Continuing a certain sequence in Excel Office 2016
Novice
Continuing a certain sequence in Excel
 
Join Date: Mar 2018
Posts: 15
rooly is on a distinguished road
Default

Thanks . The table you uploaded stops at 01-04-05 . How do I continue on to 01-05-01 Etc..


cross posts:
https://www.excelforum.com/excel-gen...ml#post4875152
Reply With Quote
  #6  
Old 04-01-2018, 06:39 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Quote:
Originally Posted by ArviLaanemets View Post
In attachement is an example.
Please follow mods request and do not answer posts before the OP has complied. Thank you
__________________
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
Reply With Quote
  #7  
Old 04-01-2018, 06:40 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

@ rooly
Perhaps try post #2
__________________
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
Reply With Quote
  #8  
Old 04-01-2018, 07:59 AM
ArviLaanemets ArviLaanemets is offline Continuing a certain sequence in Excel Windows 8 Continuing a certain sequence in Excel Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by Pecoflyer View Post
Please follow mods request and do not answer posts before the OP has complied. Thank you
When I started to write the answer, there was only opening post!
Reply With Quote
  #9  
Old 04-01-2018, 08:10 AM
ArviLaanemets ArviLaanemets is offline Continuing a certain sequence in Excel Windows 8 Continuing a certain sequence in Excel Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by rooly View Post
The table you uploaded stops at 01-04-05 . How do I continue on to 01-05-01 Etc..
Limit1 or whatever it was (I don't have Excel currently so I'm not sure how I named them exactly) (at top of page are 3 limits, btw you can have them on separate sheet, or you can simply define them as names when those limits are fixed) determines the max number allowed in 1st 2 characters of code, and as result the range the formulas calculate the code for. So set the Limit1 to 99, and you get the max of the table with current Limit2 and Limit3.

Wait! At 01-04-05! I have to check the formula, but it takes some time. I have to connect to another computer.

It stops at 03-04-05 - what is right as Limit1=3, Limit2=4 and Limit3=5.
Reply With Quote
  #10  
Old 04-01-2018, 11:28 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Quote:
Originally Posted by ArviLaanemets View Post
When I started to write the answer, there was only opening post!
Between my post about cross posting and your post, two hours went by.
I would suggest refreshing your browser page regularly (F5) to see what's going on. Answers can come very fast on a forum ( or sometimes very slowly)
__________________
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
Reply With Quote
  #11  
Old 04-02-2018, 12:11 AM
ArviLaanemets ArviLaanemets is offline Continuing a certain sequence in Excel Windows 8 Continuing a certain sequence in Excel Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by Pecoflyer View Post
...
I was distracted - my wife had some tasks for me meanwhile

And I learned on hard way not to refresh anything when writing the post (or at least when editing). When I edit the post, then sometimes I cant save the edited post (simply nothing happens). Now, when this happens, I copy the whole post and then refresh the sheet. As result the editing window is closed! After I lost some work this way, now I open the post anew for editing, and paste it over with copied text. I haven't tried yet, how new post will behave, but logically not very differently!
Reply With Quote
  #12  
Old 04-02-2018, 03:31 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Continuing a certain sequence in Excel Windows 7 64bit Continuing a certain sequence in Excel Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

There is a saying in French ( and probably an equivalent in English) :"Ce que femme veut, Dieu le veut".
So if the missis had tasks for you you had a high priority mission !
You're right about refreshing and editing, I hadn't thought about that one.
I usually " soft delete" answers as long as no links to cross posts are provided, and undelete when they are.
Let's see if the OP follows up on this one.
Cheers
__________________
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
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining New Headings, but continuing numbering. Cpeck3 Word 1 03-14-2018 09:34 AM
Continuing bullet point numbers Se7encm PowerPoint 0 03-12-2017 02:57 AM
Continuing a certain sequence in Excel Need an excel formula to remove dashes in a number sequence jyfuller Excel Programming 3 02-27-2013 10:32 PM
Continuing a certain sequence in Excel Pausing a Macro for User Selection and continuing anirudhsood Word VBA 1 09-04-2012 08:34 PM
Continuing a certain sequence in Excel Excel sheet Sequence Number belloffice Excel 1 02-25-2010 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft