+ Reply to Thread
Results 1 to 5 of 5

Dropping entered data into matching records

  1. #1
    Registered User
    Join Date
    06-03-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2010
    Posts
    7

    Dropping entered data into matching records

    In the attachment, there are two worksheets: 'Data Entry' and 'Database'.

    In the 'Data Entry' tab, there are three columns - C through E - that need to be dropped into the 'Database' tab - columns F through H - to the rows respective to the corresponding Return Reference #.

    I set up a Match formula in the leftmost column that shows what rows the information will be pasted to, but I need a macro that will do it for me with mass amounts of data.

    Probably not too complex but I can't get anything to work like I need it to.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Dropping entered data into matching records

    fooledbylogic,

    Based on your sample file, you only need a VLOOKUP formula, not a macro. Attached is a modified version of your sample workbook so you can see how it works.

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-03-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Dropping entered data into matching records

    Unfortunately, it's not that simple.

    The 'Database' tab is a permanent log that will maintain the data as users add and update records over time. The 'Data Entry' tab will have different records every time, so VLookups will not work as the data will not always be there.

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Dropping entered data into matching records

    fooledbylogic,

    Attached is a modified version of your workbook that contains a button labeled Update Database on the Data Entry sheet. That button is assigned the following macro:
    Please Login or Register  to view this content.


    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-03-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Dropping entered data into matching records

    tigeravatar,

    Thank you, this code works great. You've provided something I can build on - greatly appreciate the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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