+ Reply to Thread
Results 1 to 3 of 3

Auto Populate Cell When Data Is Entered In Another Cell

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    Lincolnshire
    MS-Off Ver
    Office 2013
    Posts
    2

    Auto Populate Cell When Data Is Entered In Another Cell

    Hi,

    Thank you for taking the time to look at my question.

    I am helping my wife create a spreadsheet for her workplace. What I am trying to do is make the reference number column auto fill with a incrementing number each time a date is entered in the date column. I have attached the document so it will make sense when you see it.

    When a date is entered into B10 I would like A10 to show the reference number TNC16/1. When the date is entered into B11 I would like A11 to autofill with TNC16/2 and so on down the spreadsheet. The spreadsheet also needs to be infinite.

    Any help would be very much appreciated.

    Many thanks,
    David
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,024

    Re: Auto Populate Cell When Data Is Entered In Another Cell

    Here is a VBA solution

    Please Login or Register  to view this content.
    Copy the above code. Open the VBE (Alt +F11). In the left window, click on the worksheet indicated as Sheet1. The right window will appear. Paste the code into that window. Save and close the VBE. Save the file as an .xlsm (macro enabled). Save the workbook. When you open the workbook, this macro will be enabled. When you add dates to the Column B, it will automatically update column A.
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    Lincolnshire
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Auto Populate Cell When Data Is Entered In Another Cell

    Hi Alan,

    Thank you so much for your help. Your instructions were incredibly clear. You are extremely knowledgeable and I'm very grateful to you.

    Best Regards,
    David

+ 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. Auto populate date when information is entered in another cell
    By excelrookie2015 in forum Excel General
    Replies: 2
    Last Post: 12-23-2014, 03:21 PM
  2. [SOLVED] Making a macro run & populate a cell when data is entered into another cell.
    By TimKleckneer in forum Excel Programming / VBA / Macros
    Replies: 52
    Last Post: 10-17-2014, 07:44 PM
  3. [SOLVED] Formula Needed to auto populate current date when text entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2013, 09:50 PM
  4. Replies: 8
    Last Post: 01-23-2013, 03:36 AM
  5. Auto populate multiple cells with a value entered in one Cell
    By Excelrookie_1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2012, 07:18 AM
  6. Replies: 2
    Last Post: 10-30-2012, 06:08 PM
  7. auto date cell when adjacent cell has data entered?
    By kalisun in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-01-2007, 12:49 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