+ Reply to Thread
Results 1 to 7 of 7

Enter data into one location and have it repeated in a different location on spreadsheet

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Enter data into one location and have it repeated in a different location on spreadsheet

    I need to enter data into say A1 and have the same data entered into another location on the spread sheet.

    The process is this:
    1. User enters data into A1
    2. User enters same data into say D51 (therefore establishing the location for the future data as the D51 location could be anywhere on the spread sheet).
    3. From there the user only enters data into A2, A3, A4... etc and the macro completes D52, D53, D54....etc.

    Would really appreciate some assistance.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    Maybe this:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    That is so close to what I need TMS.

    Can I throw another factor in.

    The D52, D53, D54 will be consistent for about 12 entries. The problem is that the offset will not be consistent, because A1, A2, A3 may then become D6, then E6, then A4. But the automatic entry must keep adding to the list.

    Then a new list will be needed. So the user will enter A5 and E52 (identifying the point of reference), then user enters A6 with E53 the new automatic entry.

    Difficult aren't I?

    Regards

    Yoepy

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    I'm sorry. I don't know enough (anything) about. the worksheet structure and content.

    It is therefore very difficult not only to understand what you are trying to achieve and why, but then try to develop a solution in the dark to meet your needs.

    The basic idea is that first cell entered becomes the base, the second cell becomes the copy location and determines the offset. Subsequent cells are then echoed using the offsets. You could probably just use the row offset and keep the column offset fixed (use the rCopy column instead of an offset.)

    That would be something like (untested):
    Please Login or Register  to view this content.
    How you'd go about indicating that you want to start a new list, I have no idea.

    Please bear in mind that you know exactly what you are looking at and what you want to achieve and why, but nobody else does.

    Interesting though it was, I'm out.

  5. #5
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    I appreciate your help.

    Thank you.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    You're welcome.

    Note that you have the reset code. You could just attach that to a button and click on it when you want to start a new list.

    Other than that, you'd need to check for some sort of key word (maybe, 'new') or a specific location to initiate a reset.

    Regards, TMS

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Enter data into one location and have it repeated in a different location on spreadshe

    Ok, been mulling this over and here are some variations on a theme. The current one, I think does what you want. It looks for the text "new!" without the quotes to initiate a reset so a new list can start elsewhere.

    Please Login or Register  to view this content.

    Regards, TMS

+ 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] Enter Line-Break [Alt + Enter] at specific location
    By jewelsharma in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2014, 12:23 AM
  2. [SOLVED] [Help]macro to open file browser, to select a location, and save the location to a cell
    By zhuleijia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2013, 09:56 AM
  3. Replies: 1
    Last Post: 10-31-2012, 11:19 AM
  4. Replies: 2
    Last Post: 02-02-2006, 06:20 PM
  5. [SOLVED] Mouse Location, Movement and Spreadsheet Location
    By TCook in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2005, 06:05 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