+ Reply to Thread
Results 1 to 4 of 4

Copying a multiple cell values from one worksheet to another

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Copying a multiple cell values from one worksheet to another

    I have a 2 columns on a spreadsheet that are populated from another spreadsheet. I have attached a sample below as book1. I want pull each column d value and corresponding column G value into another worksheet. Example: Column D has two lines for laborers and column G has two values 2 and 6 corresponding to the two laborers rows. I would like the second spread sheet to combine the two lines in Column D and add the 2 values in column g into one row. Is there a way I might be able to do this. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Copying a multiple cell values from one worksheet to another

    Hi Jrg123,

    You can use a sumif function here ;-

    =SUMIF(Sheet1!D:D,Sheet2!A1,Sheet1!G:G)


    see attached .. green cell in sheet 2.

    Book1(20).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Copying a multiple cell values from one worksheet to another

    Thanks dilipandey, but I also need to populate column a on sheet 2 with the values from column d on sheet 1. Not sure how to make this happen.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Copying a multiple cell values from one worksheet to another

    Hi jrg123,

    See the pivot in column D .. whenever there is any addition or deletion of data, just right click on pivot and choose refresh..

    Book1(20).xlsx
    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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