+ Reply to Thread
Results 1 to 5 of 5

Copy data from spreadsheets to a two, with the sum criterion

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Copy data from spreadsheets to a two, with the sum criterion

    I'd like to take the data entered in the spreadsheet called "Base_1" and "Base_2" and was placed on the worksheet called "Summary".

    But the data that has the same "Naterial" on "Base_1" and "Base_2" were to "Summary" with the amounts added.
    Thank you!

    Cross-Post
    http://www.msofficeforums.com/excel-...criterion.html
    Attached Files Attached Files
    Last edited by marreco; 05-15-2012 at 07:14 PM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: Copy data from spreadsheets to a two, with the sum criterion

    One way:

    Please Login or Register  to view this content.
    Perhaps it was the Noid who should have avoided me...
    If you are satisfied with my solution click the small star icon on the left. Thanks
    1. Make a copy of your workbook and run the following code on your copy (just in case)
    2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
    3. Paste the code from above into the empty white space. Close the VBE.
    4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Copy data from spreadsheets to a two, with the sum criterion

    was very good!

    great!

    if not asking too much I would like to comment your code
    Thank you very much!

  4. #4
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: Copy data from spreadsheets to a two, with the sum criterion

    Here you Marreco.

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Copy data from spreadsheets to a two, with the sum criterion

    very good thanks, helped a lot!

    I'm very happy for the help, thanks!

    I tried to add more reputation but could not
    showed this message
    "You must spread some Reputation around before giving it to AlvaroSiza again."

+ 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