+ Reply to Thread
Results 1 to 6 of 6

Order repeating series

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Order repeating series

    series.jpg

    I have same values in A column (like a value).
    In B column I want to make serial sort number for a values. By formula NOT Macro.
    First group of a values must be 1 and second group of a value must be 2 and continuing so on.
    There is some other data between a value groups. Don't care these other data.

    Only a values groups need serial number starting from 1st.

    Attached pic. shows the structure of example.

    Waiting for reply, thanks in advance.

    Regards.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Order repeating series

    Hi,

    One way. In B2 and copy down (must be entered as as array formula):

    =IF(A2<>"a","",SUM(--(FREQUENCY(IF(A$1:A2<>"a",ROW(A$1:A2)),IF(A$1:A2="a",ROW(A$1:A2)))>0)))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Order repeating series

    Thanks XOR LX.
    Great, works.

    Regards.

    Quote Originally Posted by XOR LX View Post
    Hi,

    One way. In B2 and copy down (must be entered as as array formula):

    =IF(A2<>"a","",SUM(--(FREQUENCY(IF(A$1:A2<>"a",ROW(A$1:A2)),IF(A$1:A2="a",ROW(A$1:A2)))>0)))

    Regards

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Order repeating series

    You're welcome.

  5. #5
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Order repeating series

    try this
    =IF(A2="","",IF(A1=A2,B1,MAX(B$1:B1)+1))

  6. #6
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Order repeating series

    Quote Originally Posted by Ghozi Alkatiri View Post
    try this
    =IF(A2="","",IF(A1=A2,B1,MAX(B$1:B1)+1))
    Working.
    Thanks.

+ 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. Repeating Numbers In Sequential Order
    By artiststevens in forum Excel General
    Replies: 3
    Last Post: 02-05-2015, 05:27 AM
  2. [SOLVED] Dynamic repeating order that needs to change based on specific criteria
    By rcoope02 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2013, 11:30 AM
  3. Multiple floating bar chart with repeating series
    By Bavas in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-02-2013, 06:26 AM
  4. How to create repeating number series?
    By phudpucker99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 11:48 AM
  5. Series order conflicts with line order
    By Cowtoon in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-15-2006, 04:50 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