+ Reply to Thread
Results 1 to 10 of 10

Drop down list and transfering data to another sheet automatically

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    50

    Drop down list and transfering data to another sheet automatically

    Hello everyone
    I am so glad I found this site - it has been eye opening to say the least.
    I have a question however, I am in the process of creating a workbook of different things for my construction company and I am stuck. Is there a way that I can pull a cost code from a drop down and have whatever data is inputted into the cell to the right automatically transfered to a budget report (another sheet)?
    Example - Inputting time for my crews - select a code from the drop down list say for "concrete" Then I input the crews hours per day in subsequent columns and then sum it up at the final column. Can the sum of the hours worked doing "concrete" then automatically be transposed to the budget in the "concrete" section?

    I really appreciate any help and am very thankful for a sites like this that makes it much easier for this old construction worker.

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Drop down list and transfering data to another sheet automatically

    What you are wanting can probably be achieved. Your best bet is to post a workbook with an example of what you want the final product to display.
    Odds are Vlookup is the function you need.
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    12-27-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Drop down list and transfering data to another sheet automatically

    Here is a stripped down work book
    Thanks
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Drop down list and transfering data to another sheet automatically

    Put the following formula in C4 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If you have a better understanding of the VLOOKUP Function, the following would also work:
    =IFERROR(VLOOKUP(A4,'Time sheet'!$B$3:$J$6,9,FALSE),"")

  5. #5
    Registered User
    Join Date
    12-27-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Drop down list and transfering data to another sheet automatically

    Melvinrobb
    I appreciate the help tremedously. I have one question about the Vlookup function and the results. In my previous example there are 2 workers who both did the same time of work during the day. So, while the number of hours per day per guy sums up in the total column on the time sheet page, it only shows up as 1 of the values in the budget page. HOw do I get them to sum up on the budget page?
    Thanks again for you help

  6. #6
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Drop down list and transfering data to another sheet automatically

    In that case, you should use the SUMIF function:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    That way you will get the total hours for each cost code.

  7. #7
    Registered User
    Join Date
    12-27-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Drop down list and transfering data to another sheet automatically

    Whould it be the same "SUMIF" for the Vlookup function as well?

  8. #8
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Drop down list and transfering data to another sheet automatically

    The SUMIF replaces the Vlookup formula.

  9. #9
    Registered User
    Join Date
    12-27-2012
    Location
    Alabama
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Drop down list and transfering data to another sheet automatically

    Sorry for being dense, but where in the Vlookup formula would you put the SUMIF? When I replaced the Vlookup with the sumif it gave me an error. Thank you for the help

  10. #10
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Drop down list and transfering data to another sheet automatically

    I'm not sure why you were getting an error message.
    The attached should work.
    Attached Files Attached Files

+ 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