+ Reply to Thread
Results 1 to 15 of 15

Data entry from one sheet to another

  1. #1
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Red face Data entry from one sheet to another

    Hi All,

    I am new to excel and want to start a spreedsheet to record scores for my sons pinball machine scores. What i would like t know is how/if i can type in a score on sheet one say cell B2 and then it records this value on sheet 2 cell C2 but then the next time I enter a score on sheet one cell B2 it records this next score on sheet 2 cell C3 then C4, C5 and so on, so all the time I just have to enter the scores on sheet one cell B2?

    Appreciate any help
    Thank you

    Wes7

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Data entry from one sheet to another

    Hi Wes7,

    See the attached with some VBA behind the sheet1 and in a Module. I think this is what you wanted..

    Dart Score Entry VBA.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    You can put this code in the Sheet1 module:

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    If you haven't used macros before you'll need to go to:
    File- options - trust center -trust center settings - macro settings ,
    the second option down (disable all macros with notification)

    Then - Copy the code to the clipboard

    Open your Workbook

    Press ALT + F11 to open the Visual Basic Editor.

    Click on Sheet1 and paste the code in the white space

    and that's it for this event code

    *Be sure to save the book with the code as Macro-Enabled
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Thanks Martin,

    This is exactly what I wanted. Just one more thing if you have time? How do I copy this macro to another cell, so I can use different columns for different games?

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    You're welcome and thanks for the rep!

    What are you contemplating for different games?

  6. #6
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Just the different pinball machines that we have at home. It's so we can try and come up with a handicap system for when friends come over to even up the playing field.

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    You can list the machine names in Column A on sheet 1 and in Row 1 of sheet 2 and a routine can match the Sheet 1 row entries with the Sheet 2 column entries

  8. #8
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Yes xladept, that's what i want to do. If you look at the spreed sheet that Martin sent me, I just need to know if I can copy the macro in cell B2 to cell D2 and it will automatically put the values in sheet 2 cell E2
    or do i have to write a new macro for cell D2

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    I'm suggesting that A2 names a machine, A3 another machine and so forth then by machine you enter the score for A2 machine in B2, for A3 machine in B3 and on and on - how many machines do you have??

    (Or you can organize it horizontally.)
    Last edited by xladept; 07-15-2018 at 02:39 PM.

  10. #10
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Have 5 machines, but the code is only in cell B2, I can't figure out how to put the code into cell B3 so that it will send the score to sheet 2 cell D2

  11. #11
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Data entry from one sheet to another

    Hi Wes7,

    See the attached that should take care of multiple machines and/or players. Also - thanks for the Rep as I always work on Rep answers first.


    Dart Score Entry VBA Better.xlsm

  12. #12
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    I made a sample too
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Thanks Martin, this should do the job excellently. Appreciate all your help and your time that you have given me. Thanks mate

  14. #14
    Registered User
    Join Date
    07-14-2018
    Location
    MELBOURNE
    MS-Off Ver
    2010
    Posts
    7

    Re: Data entry from one sheet to another

    Thanks xladept, this also should do the job. Appreciate the help and time you have given to a complete stranger.

  15. #15
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Data entry from one sheet to another

    You're welcome Wes and thanks for the reps!

+ 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] Command Button that transposes selections from Entry sheet to Data Sheet
    By K_N in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-10-2017, 07:48 PM
  2. [SOLVED] Confirm data entry once sheet is input button that password locks sheet
    By gr8niss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2017, 01:15 PM
  3. Replies: 1
    Last Post: 05-12-2016, 03:36 AM
  4. Replies: 2
    Last Post: 05-12-2016, 03:08 AM
  5. copy and retain information from a data entry sheet to trending sheet
    By thuddleston11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2012, 11:13 AM
  6. As user fills out data sheet, then fill out a results sheet based on data sheet entry
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-13-2012, 03:57 PM
  7. Replies: 1
    Last Post: 07-22-2011, 12: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