+ Reply to Thread
Results 1 to 6 of 6

Repeated Sequence Numbers

  1. #1
    Registered User
    Join Date
    04-28-2024
    Location
    Pakistan
    MS-Off Ver
    Office 365
    Posts
    55

    Repeated Sequence Numbers

    Hello All

    I am stuck to generate a repated list. I have following values in two colunms

    Items Salesmen
    Item-1 4
    Item-2 2
    Item-3 4
    Item-4 6
    Item-5 5
    Item-6 8
    Item-7 6
    Item-8 4

    I want to generate following output. Column with repeated Items numbers but different SalesmenID depending on the number of salesman allocated to each item. the above list is dynamic. One add more items and salesmen. Can any one help to generate formula to following output. THe power Query can solve it but i want excel formula.

    Item-1 Salesman-1
    Item-1 Salesman-2
    Item-1 Salesman-3
    Item-1 Salesman-4
    Item-2 Salesman-1
    Item-2 Salesman-2
    Item-3 Salesman-1
    Item-3 Salesman-2
    Item-3 Salesman-3
    Item-3 Salesman-4
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,437

    Re: Repeated Sequence Numbers

    Welcome to the forum.

    Try this:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,945

    Re: Repeated Sequence Numbers

    With Power Query for benefit of others.

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    04-28-2024
    Location
    Pakistan
    MS-Off Ver
    Office 365
    Posts
    55

    Re: Repeated Sequence Numbers

    Excellent, really works and swift reply also makes my happy....Thanks a lot

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,945

    Re: Repeated Sequence Numbers

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,437

    Re: Repeated Sequence Numbers

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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. [SOLVED] Column Array Repeated Sequence of Numbers
    By leolapa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2023, 04:49 PM
  2. [SOLVED] Separate sequence of numbers with sequence of letters
    By dell001 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-02-2020, 07:09 AM
  3. [SOLVED] Exchange Column to Row for Sequence of Repeated Numbers
    By soleimani1967 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-07-2019, 03:53 PM
  4. Replies: 12
    Last Post: 12-18-2018, 12:45 PM
  5. Vlookup to get Values for repeated sequence
    By awesomeapoo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2016, 02:30 PM
  6. insert a blank row for a missing value of a repeated sequence
    By newexcel123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2014, 01:58 PM
  7. Replies: 9
    Last Post: 10-25-2011, 12:35 PM

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