+ Reply to Thread
Results 1 to 5 of 5

Adding Labors From Main Doc

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Sacramento
    MS-Off Ver
    Excel 2007
    Posts
    22

    Adding Labors From Main Doc

    Hey Guys,

    Need help with what i believe should be a macro. I have my labors in Column A and the amount I payed them in Column D, the sheet is titled Main.


    I need to move all labors to Sheet "Pay" and add everyone. So every person and every amount is totaled. Running total Per person. Let me know if possible and if I am on right pay. Would be great help

  2. #2
    Registered User
    Join Date
    09-20-2012
    Location
    Sacramento
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Adding Labors From Main Doc

    I know I could do this using a sumif but I have too many people and to big of a list(Dont want to miss anything). Thus wanting to create the totals based on the criteria.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Adding Labors From Main Doc

    sumif() will do this for you. as a double check, you can always sum the totals from both your data and sumif() to check you have everything accounted for.

    if this is not what you want, i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, what your expected outcome is, and how you arrived at that

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-20-2012
    Location
    Sacramento
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Adding Labors From Main Doc

    I dont want to spend the time making sure I have everyone on sumif. Is it possible to just make it run and create the running total per person? Attached is sample. It just has the stuff on main and pay is blank. Thanks
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Adding Labors From Main Doc

    probably an easier way to do this, but i copied all of sheet1, column A to sheet B column A. then used "remove duplicates" to...well...remove duplicates. then used this formula to hive the totals

    =SUMIF(Main!$A:$C,Pay!A2,Main!C:C)

+ 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