+ Reply to Thread
Results 1 to 5 of 5

Incremental Text-Numbering

  1. #1
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Incremental Text-Numbering

    All,

    I want to write a formula which reviews a column A field which has (text numeric) items like below

    Column A
    ABC-10-123456
    ABC-10-123456
    CDA-10-324567
    CAC-10-234789
    CDA-10-324567

    I want to assign a incremental value in Column B like this FN1 to FN nth number by reading column A

    Column B
    ABC-10-123456-FN1
    ABC-10-123456-FN2
    CDA-10-324567-FN1
    CAC-10-234789-FN1
    CDA-10-324567-FN2

    preferably use formula then macro

    Thnx
    NKRA
    Last edited by NKRA; 07-14-2010 at 03:53 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Incremental Text-Numbering

    In B1 and copy down,

    =A1 & "-FN" & COUNTIF(A$1:A1, A1)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: Incremental Text-Numbering

    That formula worked but i noticed in some instance my data element has four text characters in Column A


    Column A
    ABC-10-123456
    ABC-10-123456
    CDA-10-324567
    CAC-10-234789
    CDA-10-324567
    EFGH-10-123456
    EFGH-10-123456
    NKRA-10-000123
    COOL-10-789654
    COOL-10-789654

    Basically where it had four text in begining it did not put FN1 or FN nth number just put like EFGH-10-123456-


    Any further suggestion how to resolved.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Incremental Text-Numbering

    How would I know what the result should be?

  5. #5
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: Incremental Text-Numbering

    it worked my bad i was reading a wrong cell reference.

    Thnx for great help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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