+ Reply to Thread
Results 1 to 6 of 6

Macro for Database - Autogenerating unique ID based on formula criteria.

  1. #1
    Registered User
    Join Date
    04-08-2016
    Location
    CARROLLTON, TX
    MS-Off Ver
    EXCEL 2013
    Posts
    11

    Macro for Database - Autogenerating unique ID based on formula criteria.

    Hi -

    New to Macros and trying to learn, but essentially what I'm trying to do is take a data dump fo information that includes first name, last name, and DOB and convert to unique ID. Now I have the formula for unique ID and test data in the attached document, but trying to create a marco that if I were to have say 1000 rows of data and need to find unique Ids for each one, I don't have to drag and copy down, I can just click button once I do the data dump and the cells generate the unique IDs.

    Also - for further reference, the data dump was happen in new sheets within the workbook and not added to the same sheet if that helps.

    Please advise.
    Attached Files Attached Files
    Last edited by SUNAYANI; 01-14-2020 at 12:27 PM.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Macro for Database

    .
    This will take care of the Unique ID :

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: Macro for Database

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    04-08-2016
    Location
    CARROLLTON, TX
    MS-Off Ver
    EXCEL 2013
    Posts
    11

    Re: Macro for Database - Autogenerating unique ID based on formula criteria.

    Hi - please confirm if the title is sufficient enough or if I need to be more specific?

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: Macro for Database - Autogenerating unique ID based on formula criteria.

    Satisfactory.

  6. #6
    Registered User
    Join Date
    04-08-2016
    Location
    CARROLLTON, TX
    MS-Off Ver
    EXCEL 2013
    Posts
    11

    Re: Macro for Database

    This does help! Thank you!

+ 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. Macro, VBA or database?
    By Stargem83 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2019, 08:56 AM
  2. Replies: 10
    Last Post: 03-12-2019, 01:04 AM
  3. Repost - Macro to convert flat database to a Database from two sheets
    By rehana402003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2017, 05:02 AM
  4. Macro for a database
    By widener in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2013, 09:52 AM
  5. Database search macro
    By TheNewGuy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2009, 09:19 AM
  6. Replies: 5
    Last Post: 06-11-2006, 04:45 PM
  7. Run Macro from another database
    By Dave in forum Excel General
    Replies: 0
    Last Post: 03-08-2006, 10:10 AM

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