+ Reply to Thread
Results 1 to 13 of 13

Custom list sequence

  1. #1
    Registered User
    Join Date
    03-02-2011
    Location
    U.S.A
    MS-Off Ver
    Excel 2003
    Posts
    11

    Question Custom list sequence

    Hello folks,

    I'm not sure if there is a simple solution to what I'm trying to achieve or if it requires a script. Basically, I'm trying to see if I can fill multiple rows with sequential data from a custom list with other content in each cell.

    EXAMPLE

    Size 26" Shoes
    Size 28" Shoes
    Size 30" Shoes


    I have created a custom list of numbers that increase by two. But I have to have the remaining content in there. Using the fill handle results in the same text repeated. The sequence only works when I have only numbers in cells. Is it possible to direct Excel to look for specific data within cells and work with that? or is this just not possible?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Custom list sequence

    Hi,

    try this if , Not satisfied provide a sample workbook with out any confidential data .

    Punnam
    Attached Files Attached Files

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Custom list sequence

    May be this.....(As per your example)
    Please Login or Register  to view this content.
    and copy down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Custom list sequence

    Or this:

    =CONCATENATE("Size"," ",2*(ROW()+10),CHAR(34)," ","Shoes")

  5. #5
    Registered User
    Join Date
    03-02-2011
    Location
    U.S.A
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Custom list sequence

    Thank you so much to both of you!

    It does definitely work for the example I gave you. Though I'm wondering if this is really the only way? Because, in my example, there are just two words, one on each side. But what if I have more words and the numbers are in a different place, i.e. in front instead of in the middle. I was wondering if there was also a method in which no matter what other text exist and how it was placed, Excel would only focus on the numbers and apply the formula to the numbers only.

    Thanks again!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Custom list sequence

    excel formulas work on logic. If there is some logic to where your numbers will be, tnhen Im pretty sure we can come up with something. You will need to provide a few, more realistic, samples of your data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    03-02-2011
    Location
    U.S.A
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Custom list sequence

    Thank you for the reply.

    Absolutely correct. In that case, I will make it easy as possible for you guys to help me. This spreadsheet is simply going to be made of names of various products. I have a SKU column and a Title column. I have established a naming convention which puts the numbers that need to change in a specific place every time. But in the case of SKU column, the numbers' location may change due to longer string of characters that fall before it.

    For clarification, please see the attached file. So in the SKU column, the important numbers lie at the end of each cell, i.e 70, 72, etc. Those same numbers can be found with quotes under the Title column, but there positioned in the beginning. The Title column should be fairly straightforward because the numbers always start at the beginning. But in the SKU column, the numbers fall at the end which complicates things because as you can see from the last SKU in the column, the SKUs can get longer or even shorter for that matter. So again, I'm simply trying to make it so that when I use the fill handle to copy cells going down, Excel should simply change those last two numbers by increment of two in both columns.

    Hope that makes sense.

    Thanks again!


    example.xlsx

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Custom list sequence

    I am a little unsure what your expected outcome would be? It seems that you have the size in both columns?

    This may help you get what you want though, you will probably need to take bits of it to suite...
    =LEFT(A2,LEN(A2)-2)&" "&RIGHT(A2,2)&""""&" "&B2
    it gives this...
    BLTR041401 70" 70" 600D Turnout Winter Blanket Blue Black

    to pull just the size from the SAKU...
    =RIGHT(A2,2)
    to break apart the SKU and size...
    =LEFT(A2,LEN(A2)-2)&" "&RIGHT(A2,2)

  9. #9
    Registered User
    Join Date
    03-02-2011
    Location
    U.S.A
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Custom list sequence

    I apologize. I wasn't clear.

    I need two separate formulas, one for each column. The SKUs and the titles are independent and their specific formatting should stay the same.

  10. #10
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Custom list sequence

    Hi,

    Let me know details of row colored in yellow background .

    Punnam
    Attached Files Attached Files

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Custom list sequence

    If Punnam has not given you what you want, please provide a few sample answers

  12. #12
    Registered User
    Join Date
    03-02-2011
    Location
    U.S.A
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Custom list sequence

    Punnam, thank you for the sample.

    You know, I really think the solution you guys have provided me with thus far has been doing exactly what was intended. Basically, I was trying to avoid manually entering the sizes, i.e 70, 72.

    I would insert for example, BLTR04140170, then drag down few rows copying that across those rows. Then I would go back and manually change the 70 to 72 to 74 etc etc. With the CONCATENATE formula and the one sktneer provided, I have to fill in the data once and simply drag down and it automatically changes the numbers by increment of two. It works and the only thing I have to do provide the initial text. Unless there is a way to make this process more efficient, I think I'm happy with this solution. Thank you all for weighing in. This definitely makes my work a lot easier.

  13. #13
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Custom list sequence

    hi cl0n,

    I think I'm happy with this solution,
    I think you are happy and got your solution ,if so mark the thread solved & rate one who helped you, if you are looking for further help provide the data as "FDibbins" stated in Post11.

    Punnam

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Alphanumeric sequence list
    By Npcw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-12-2013, 10:40 PM
  2. Auto fill decimal sequence using custom fill or formula
    By 8cats in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-22-2013, 08:53 AM
  3. how to create a custom auto fill sequence
    By lix333 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-06-2012, 09:40 PM
  4. Sort According to Custom Alphabetic Sequence
    By indrayumna in forum Excel General
    Replies: 4
    Last Post: 07-10-2008, 06:39 AM
  5. VBA to Sequence List
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2008, 08:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1