+ Reply to Thread
Results 1 to 17 of 17

Sequence numbering with 3 result combinations

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Sequence numbering with 3 result combinations

    hi all,

    i hope you could help me about sequence numbering, for this below ;
    start from col. a..

    seq---------------title-----------
    1.-----------------aaa----------
    2.-----------------aaa-----------
    - -----------------ddd-----------
    1.-----------------rrrr-----------
    2.-----------------rrrr-----------
    blank--------------blank---------
    - -----------------ttt------------

    with 3 result of combination ;
    number with mark "." e.g 1.,2.,3.,etc.......

    any help, will be appreciated.......

    john m
    mark "-" if cell contains single
    mark "" (blank) if cell blank empty...

  2. #2
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Sequence numbering with 3 result combinations

    Sir please upload excel sheet with data.

    Regards,
    Suhas

  3. #3
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    ok, here my workbook attached, please see it...
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sequence numbering with 3 result combinations

    In A2 and copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Sequence numbering with 3 result combinations

    Put this in A2:

    =IF(B2="","",IF(COUNTIF(B:B,B2)=1,"-",COUNTIF(B$2:B2,B2)))

    then copy down. You will need to remove the work "blank" from those empty cells, or change the formula to this:

    =IF(B2="blank","",IF(COUNTIF(B:B,B2)=1,"-",COUNTIF(B$2:B2,B2)))

    Hope this helps.

    Pete

  6. #6
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    Fotis,...very quickly answer....

    thank you very much........

  7. #7
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    Pete, thank you but not fully complete, how do add mark "." (dot) after number

    1. or 2.etc...

  8. #8
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    Pete, thank you but not fully complete, how do add mark "." (dot) after number

    1. or 2.etc...

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Sequence numbering with 3 result combinations

    Like this:

    =IF(B2="blank","blank",IF(COUNTIF(B:B,B2)=1,"-",COUNTIF(B$2:B2,B2)&"."))

    Hope this helps.

    Pete

  10. #10
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    or this...

    Please Login or Register  to view this content.
    many thanks, Pete...

  11. #11
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    with different situation ;
    1) if the cell (col.B) contains only single data the number should be mark "-"
    2) if the cell (col. B) contains several data the number should sequence like 1.,2.,3.,etc........

    please, see my new workbook...
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    please, someone can help me.........

  13. #13
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Sequence numbering with 3 result combinations

    Your example file doesn't make much sense. Please include more data and an indication of what you really want the output to look like.

    Pete

  14. #14
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    Pete, thanks...

    in cell D10 as parameter drop down list, then on target start from cell A15 down (yellow area) as sequence number with D10 as selected cell..

    here my sample...
    Attached Files Attached Files

  15. #15
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Sequence numbering with 3 result combinations

    Put this formula in A15:

    =IF(C15="","",IF(COUNTIF(C$15:C$33,"?*")=1,"-",ROWS($1:1)&"."))

    then copy down to A33.

    Hope this helps.

    Pete

  16. #16
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sequence numbering with 3 result combinations

    Pete, excellent!!!!

    thank you very much......

  17. #17
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Sequence numbering with 3 result combinations

    You're welcome, and thanks for marking the thread as Solved.

    You might also like to thank those who have helped you, by clicking on the small "star" icon below any post you have found to be helpful (not just in this thread).

    Pete

+ 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] Numbering Sequence based on two criteria.
    By SamCV in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-13-2013, 02:16 AM
  2. Sequence numbering for each duplicate record
    By excel.help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2011, 05:48 PM
  3. Numbering a sequence
    By nods in forum Excel General
    Replies: 4
    Last Post: 10-06-2010, 11:00 AM
  4. Automatic Sequence Numbering with Autofilter
    By igi0814 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-18-2009, 03:37 AM
  5. Numbering Sequence
    By scw1217 in forum Excel General
    Replies: 1
    Last Post: 02-23-2009, 05:51 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