+ Reply to Thread
Results 1 to 11 of 11

To feed data from one cell of sheet1 to Data Table in sheet2

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    To feed data from one cell of sheet1 to Data Table in sheet2

    Hi
    I Have employee working hours data.
    I want to Feed Coloumn C in Sheet2 from C5 in sheet1 only if Column B of Sheet2 matches with B2 of Sheet1.
    Every time B2 of Sheet1 changes but I want to keep result in sheet2.
    For example If Monika replaces Sara in sheet1 B2, Sara's working Hours will remain C2 of Sheet2 and put Monika working hour in C3 of Sheet2.

    Any Help

    I have attached file
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Hi.

    Check this out:

    COMPAREANDCOPY.xlsm
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Thank you very much , It worked.

  4. #4
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Hi
    I Have another scenario in which I have to do same thing but this time sheet 1 is a separate workbook.

    I Have attached files. All files are in same folder .What I am trying to do is in master sheet first it open the file and If B2 of Individual staff matches list of column B in Master list then it copies Job no, start time and finish time of each day and paste against correct Name.

    For example If I click command button it give me option to select file. I Selected Sara's File, it automatically put value of B9 saraworkbook to D7 of masterworkbook. C9 to E7 and so on.

    your help will be really appreciated.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Hi.

    Check this out:

    Master sheet.xlsm

  6. #6
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Thanks once again you are a genius

  7. #7
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    You are welcome Hansni..

    Please click the star below

  8. #8
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Hi Jraj

    When I am trying to run Macro at work its says debug on below line. However it is working fine at my home Laptop with same file.I have changed name of workbook accordingly. I don't know why its not working. Any help

    rcnt = Workbooks("TIMESHEETTEMPLATE").Sheets("Internal Copy").Range("S" & Rows.Count).End(xlUp).Row

  9. #9
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Hi Jraj
    Now everything is working fine , that was something wrong with my user ID .

    I Have another scenario. I have attached file. What I am trying to do is to convert time into 24 hours decimal hour. I have existing data which I want as in result data.

    Any way to do this

    Regards
    Hansni
    Attached Files Attached Files

  10. #10
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    I'll check it and get back to you..

  11. #11
    Registered User
    Join Date
    01-30-2013
    Location
    Coburg
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: To feed data from one cell of sheet1 to Data Table in sheet2

    Ok Thank you

+ 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