+ Reply to Thread
Results 1 to 4 of 4

Creating Student IDs from student information

  1. #1
    Registered User
    Join Date
    08-19-2020
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    2

    Creating Student IDs from student information

    One of the employees at work asked me for help with an excel issue. She has a large list of students in an excel sheet and she needs to create unique IDs using the first three letters of the last name and and the first letter of the first name and finally the Date of birth in the format ddmmyy. I am not great with excel but tried to help.


    After reading some information online, I cam up with this formula:
    =UPPER(CONCATENATE(LEFT(D2,3)&(LEFT(C2,1))&TEXT(E2,"ddmmyy")))

    There are 2 different issues. All dates starting in single digits 01-09 have the day and month reversed. Also all dates starting from 10 and up will not convert and appear as xx-xx-xxxx, The dates seem to be the main issue and since these excel sheets are large and created by someone else we cannot change them. Am I doing something wrong? Any help would be greatly appreciated.



    Date requested ID First name Last Name Date of Birth
    16-Mar-20 SMIA070590 Aaron Smith 05-07-1990
    16-Mar-20 SMIA26-05-2001 Alex Smith 26-05-2001
    Attached Files Attached Files
    Last edited by Josiah670; 08-19-2020 at 04:47 PM.

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

    Re: Creating Student IDs from student information

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-19-2020
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Creating Student IDs from student information

    Thank you. I wasn't sure if I could add attachments since I am a new member. I have added the sample work now. Thank you again.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,885

    Re: Creating Student IDs from student information

    If I understand correctly then the following should resolve the issue.
    1. Populate a helper column (P) for the date using: =IF(--LEFT(E2,1)=0,DATE(RIGHT(E2,4),LEFT(E2,2),MID(E2,4,2)),DATE(RIGHT(E2,4),MID(E2,4,2),LEFT(E2,2)))
    Note that the helper column may be moved and/or hidden for aesthetic purposes.
    2. Modify the formula in column to read: =UPPER(CONCATENATE(LEFT(D2,3)&(LEFT(C2,1))&TEXT(P2,"ddmmyy")))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 6
    Last Post: 08-31-2019, 01:03 PM
  2. [SOLVED] Lowest average of student and return student name
    By johnsnider1 in forum Excel General
    Replies: 8
    Last Post: 08-25-2018, 08:48 AM
  3. Replies: 8
    Last Post: 02-12-2016, 06:41 PM
  4. Student's information thro their Serial No.
    By anmol786 in forum Excel General
    Replies: 7
    Last Post: 10-21-2014, 04:22 AM
  5. Replies: 1
    Last Post: 02-06-2014, 08:07 AM
  6. Creating individual student reports
    By c1987 in forum Excel General
    Replies: 5
    Last Post: 05-15-2012, 12:47 PM
  7. Replies: 1
    Last Post: 09-14-2005, 05:03 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