+ Reply to Thread
Results 1 to 3 of 3

Automatically Inserting Data into Cells based data entered in other cells

  1. #1
    Registered User
    Join Date
    08-26-2010
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    9

    Question Automatically Inserting Data into Cells based data entered in other cells

    Hello Guys and Girls,

    I am creating an Overtime sheet at work to show who is doing overtime on a set week.

    I am currently using a drop down list to enter the names of workers that are due to be doing overtime however what I need to know is how to link data to that workers name. So (looking at supplied excel sheet) when I insert "Worker A" from the drop down list, I want it to automatically fill in Columns F and G (their hourly rate and their overtime rate). Is there a way to do this?

    I would also like to know if its possible to link my date columns (again looking at supplied spreadsheet) to the week ending date. I want to use a drop down menu again for the date columns. So if I put in the week ending cell 08/08/2010 my date columns drop down menu will show only the day and dates for that week, eg Mon 2nd, Tues 3rd, Weds 4th...etc.

    Basically this is so most of the sheet is drop down menu's and automated. As I have simple formulae already in place to calculate the total overtime cost.

    Thank you in advance for any help as to whether this is possible. If anyone knows of a better way of doing what I am suggesting I would of course be open to suggestions.
    Last edited by excelnewbie1985; 09-06-2010 at 05:39 AM. Reason: Marking as solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Automatically Inserting Data into Cells based data entered in other cells

    For first question.

    In your Data Sheet enter the actual hourly rates next to each employee.

    then the formula in F5, for example, would be:

    =IF(B5="","",VLOOKUP(B5,'Data Sheet'!$A$1:$B$7,2,0))

    copied down.

    In G5,

    =IF(B5="","",VLOOKUP(B5,'Data Sheet'!$A$1:$B$7,2,0)*1.5)

    copied down.

    For second question.

    In Data Sheet create a new named range for say cells G1:G6 called "Week" (without the quotes).

    Then in G1 enter: =August!$J$2-6, in and in G2 enter: =G1+1 and copy down to G6.

    Now your data validation in C5 of August sheet would be List with =Week as the source.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-26-2010
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Automatically Inserting Data into Cells based data entered in other cells

    Thank you very much NBVC that is awesome. Also thanks for the very quick response time.

    Marked As Solved.

+ 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