+ Reply to Thread
Results 1 to 7 of 7

Find last Cell in Column and enter formula

  1. #1
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Find last Cell in Column and enter formula

    Hi Everyone,

    I have a workbook running a macro that copies rows into a worksheet each time the macro is ran. I added the following columns to the worksheet - they're currently blank:

    Column P - Date Added
    Column Q - Added By (using Environ)

    I want this information to be added when the rows are copied over so I can capture the user and the date the information was added to that sheet.

    Each time the macro is ran, 20-30 rows are added to the sheet so I am unsure how to find the first blank cell in columns P and Q and then enter the formulas to populate this information until there is no longer data in the row.

    I figure I can use a combination of find the first blank column/last row to copy the formula's down but have no idea how to write that.

    Any help is appreciated!

    Thank you!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Find last Cell in Column and enter formula

    try it out,
    The range to copy is just an example, I don't know how you are copying the range from the other sheet.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Re: Find last Cell in Column and enter formula

    Hello!

    Thank you for the reply I'm copying the data using this formula:
    I'm not sure how to incorporate your formula with this one, any ideas?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Find last Cell in Column and enter formula

    Replace my copy code with your copy code

  5. #5
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Re: Find last Cell in Column and enter formula

    I tried, it wasn't working

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Find last Cell in Column and enter formula

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Re: Find last Cell in Column and enter formula

    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. Replies: 4
    Last Post: 01-05-2017, 01:09 PM
  2. Formula to find text in cell with alt + enter
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2015, 06:24 PM
  3. [SOLVED] Find first empty cell in column and enter value from textbox
    By Kevin62 in forum Excel General
    Replies: 10
    Last Post: 09-23-2014, 02:19 PM
  4. [SOLVED] Creating a formula: If cell starts with number X, then enter this in column A
    By abraham.lopez in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2013, 07:05 PM
  5. Replies: 4
    Last Post: 09-12-2012, 05:52 PM
  6. [SOLVED] Loop to find cells based on criteria, enter formula into next empty column
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2012, 03:32 PM
  7. Trying To Enter A Formula Into Every Cell In A Column.
    By Mag1c1an in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2005, 01:23 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