+ Reply to Thread
Results 1 to 7 of 7

Find value and update date in different column

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    3

    Find value and update date in different column

    Hello everybody.
    I'm struggling with setting up my table and automatically update it through by macro. My excel 2007 file has 2 sheets. Sheet1 - I'm entering the current date in A9, and entering product No (1-3 digit) in A16.
    My Sheet2 has table with 8 columns. Column A with Product Numbers. Column F with dates that I need to update.
    I want to run search from Sheet1 for exact match of the value in column A on Sheet2 (need to find value entered in A16 sheet1), then go horizontally to Column F, and update the cell with the date for this product (referencing on A9 sheet1).
    I have been trying to record macro using find feature, but so far with no luck. Looks like when I copy cell A16 and paste it to Find feature, it gets stuck, and if reenter different number in A16, it still runs as previous entry. I'm not very proficient with VBA coding, and just know the basic.
    Any help would really help.
    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Find value and update date in different column

    Hi

    Maybe you are over complicating this.

    Why do you need to enter the date manually?

    Why do you need a find or match or lookup when you can use your part number as the offset to find your cell.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Find value and update date in different column

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-18-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    3

    Re: Find value and update date in different column

    I've got the date figured out already, and under normal circumstances it would be a current date as a default, but sometime I need to change it.

  5. #5
    Registered User
    Join Date
    09-18-2014
    Location
    USA
    MS-Off Ver
    2007
    Posts
    3

    Re: Find value and update date in different column

    John, it works. Thank you very much. I like it.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Find value and update date in different column

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Find value and update date in different column

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

+ 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] Would like date in column B to automatically update based on date in column A
    By LisaFull17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2014, 10:55 AM
  2. Replies: 8
    Last Post: 01-31-2013, 05:22 AM
  3. Replies: 1
    Last Post: 10-21-2012, 05:03 PM
  4. [SOLVED] Macro to update the date column for certain rows in a table depending on a column value
    By ajolin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2012, 12:21 AM
  5. Replies: 5
    Last Post: 10-14-2010, 01:06 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