+ Reply to Thread
Results 1 to 7 of 7

Transfering data automatically referencing from another cell

  1. #1
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Transfering data automatically referencing from another cell

    Hi All, I need a bit of help starting something off. I work in an industry where there are numerous booking on and off times. Each job is given a number so for an example Turn 1 books on at 02:26 and books off at 10:27. I compile rosters and have to insert all these times individually into links and I thought if I could just connect the turn number with the time from a reference sheet, so put it "1" and 02:26 - 10:27 would automatically be entered in the adjacent cells it would save me loads of work. It would also help as every six months these turn times change, sometimes just by the odd minute but if I had a master copy I would only have to change that twice a year. Any suggestions?
    Last edited by Marvo; 06-30-2014 at 06:34 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Transfering data automatically referencing from another cell

    Hi
    If I understand you correctly you can do this with VLOOKUP and, as you say, a reference table.
    So if you have a reference table sitting in another workbook then use these formulas in your record sheet and change the workbook name and sheet name to match yours. This is assuming your reference data in in columns A to C and start in row 1:
    =VLOOKUP(A2,'[Workbook Name.xlsx]SheetName'!$A$1:$C$20,2,FALSE) this will pick up the start time
    =VLOOKUP(A2,'[Workbook Name.xlsx]SheetName'!$A$1:$C$20,3,FALSE) this will pick up the finish time
    Hope this helps.
    Good luck.
    Tony

  3. #3
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Transfering data automatically referencing from another cell

    Thanks Tony, I'm sure that will work just fine.

  4. #4
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Transfering data automatically referencing from another cell

    No sorry, can't do it. Must be doing something wrong.

    I made a workbook called "Turns" and on the first sheet named "Monday" I have three columns. A is the turn number, B is the starting time, C is the finishing time.
    Opened up a new workbook to try it out and entered "1" in column A then your formula in Column B to see if it would give me the start time of Turn 1 but alas, it didn't work. Flummoxed.

  5. #5
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Transfering data automatically referencing from another cell

    Hi
    Can you post your sample workbook so I can take a look.
    Tony

  6. #6
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Transfering data automatically referencing from another cell

    Certainly. I've taken a snippet. On the first sheet there are just two jobs shown (both in green). What I'd like to do is be able to type in the job number and the hours come up automatically from the reference on the second sheet which shows jobs on Mondays only.

    I could change the design of the link to show the job number before the start and finishing time if you think that would help?

    Thanks so much for taking the time to look at this.
    Attached Files Attached Files

  7. #7
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Transfering data automatically referencing from another cell

    It's okay, I've worked how to do it. Surprised myself.

+ 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. Transfering row from one sheet to another automatically
    By beccabooski in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-04-2013, 12:32 PM
  2. Automatically Cross-Referencing data
    By Monkihunta in forum Excel General
    Replies: 1
    Last Post: 02-10-2013, 06:58 AM
  3. [SOLVED] Drop down list and transfering data to another sheet automatically
    By cwby44 in forum Excel General
    Replies: 9
    Last Post: 12-31-2012, 10:07 AM
  4. Replies: 1
    Last Post: 10-14-2012, 12:23 AM
  5. Excel 2007 : Need help transfering cell data to a form
    By importer in forum Excel General
    Replies: 5
    Last Post: 01-26-2012, 09:46 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