+ Reply to Thread
Results 1 to 2 of 2

creating code from text in cells

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Exclamation creating code from text in cells

    hi all i want to creat formula as defined below-
    -------------------------------------------------------------------------
    formula needed for creating Student ID

    Student ID looks like-
    CC1/ACTI/12/13/000001

    defination-

    *Code *legend (Example of data in Cell) Range of data
    --------------------------------------------------------------------------
    CC1 - Course code - (basic computer Course) Around 50 Courses
    ACTI- Center Code - (Alma Computer Training Institute) Around 10 Centers
    12 - month code - (December) 12 Month
    13 - Year Code - (2013) 2013-2099
    000001 - Sr. No. - (1) numerical value 1-999999
    ------------------------------------------------------------------------


    i have course codes as CC1 for Basic Computer Course , for all 50 Courses.
    i have Centers Codes as ACTI for Alma Computer tra..., for all centers
    month,year and sr. no. (serial number range given above)

    i want that Excel should extract code from data in the cells.

    Example-
    ----------------------------------------------------------------------------
    Sr. Center name Course Date of Enrol. Code
    ----------------------------------------------------------------------------
    1 ACTI Suraj BAsic Computer Course 31/12/13 CC1/ACTI/12/13/000001
    -----------------------------------------------------------------------------
    i want excel to generate the last cell "code" by Excel.

    i understand that i will need to create libraries for courses and Centers to convert
    into Course Code and center codes.

    what should do? design something via visual basic?
    i do not know how to use visual basic and not much knowldge of formulas in Excel

    or is it getting more complex? do i need to use some other software or some program is needed to programmed.
    microsoft Access and SQL express of any use?

    hope to get replies soon

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,696

    Re: creating code from text in cells

    Maybe something like the following UDF:

    Please Login or Register  to view this content.

    Called like:

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



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Creating a formula form text in different cells
    By clowesr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2013, 07:34 AM
  2. VBA code to input a text in shaded cells
    By ssq in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-24-2013, 12:12 AM
  3. [SOLVED] Creating multiple rows hyperlinks from text in different cells in a Macro
    By p1awn in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2013, 01:16 PM
  4. Code for creating line between two cells - Spaghetti chart
    By mohitmahajanin in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-20-2008, 04:28 AM
  5. Code error in creating text files
    By Greshter in forum Excel General
    Replies: 3
    Last Post: 01-15-2006, 05:40 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