+ Reply to Thread
Results 1 to 5 of 5

Thread: Criteria based Running totals across multiple sheets

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Criteria based Running totals across multiple sheets

    Hey all

    I have a workbook which contains weekly timesheets with multiple job listings. The workbook will grow with sheets having Friday dates through the rest of the year. I have a named range (Dates) that contains all existing and future sheet names.

    What I'd like to do, starting with "12-30" is create a formula in AG15 that would look in all sheets matching names in (Dates) for the value in B15 and SUM column AE. Same thing for AH regarding AF. Essentially, AE and AF are weekly totals where AG and AH would sum all the hours worked against a W.O. # from B:B through all worksheets in the workbok.

    The latest sheet is always copied before "WeeklyDates" when a new week starts so it's OK if the running totals for prior weeks reflect hours worked after that week.

    Hope that explains it.

    As always guys.... Thanks and Happy New Year!!!!!
    Attached Files Attached Files
    Last edited by scaffdog845; 01-06-2012 at 02:45 PM.
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  2. #2
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Criteria based Running totals across multiple sheets

    Bump. No response
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  3. #3
    Valued Forum Contributor
    Join Date
    07-20-2011
    Location
    mysore
    MS-Off Ver
    Excel 2003
    Posts
    423

    Re: Criteria based Running totals across multiple sheets

    I feel this is what you want.According to that I have entered formulas in 11-4 and 11-11 Sheets in the attached file.

    In 11-4 sheet running total is same as Totals as this is the first sheet. ie AG15=AE15.
    In 11-11 sheet Running Total=Running total of 11-4 Sheet+AE of 11-11 Sheet.

    If you feel OK do similarly for other sheets also.
    Clarifications are welcome.If solved mark the thread SOLVED.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Criteria based Running totals across multiple sheets

    Kvsrinivasamurthy I appreciate the response and those formulas would work fine unfortunately they would require manual manipulation every time a sheet was copied and named as a new day.

    The ultimate goal is to have a formula that would look at any sheet in the workbook that exists and has a sheet name that matches any of the names in the dynamic range (dates).

    I had a running version of this same workbook before using the formula
    =SUMPRODUCT(SUMIF(INDIRECT("'"&TEXT(dates,"M-D")&"'!B15:B1000"),B15,INDIRECT("'"&TEXT(dates,"M-D")&"'!AE15:AE1000")))+SUMPRODUCT(SUMIF(INDIRECT("'"&TEXT(dates,"M-D")&"'!B15:B1000"),B15,INDIRECT("'"&TEXT(dates,"M-D")&"'!AF15:AF1000")))
    but I can't get it to work when creating a workbook for the new year. I had not originally posted this formula due to performance issues I believe it was causing when the nuiber of sheets got high. I thought there would be a cleaner way of doing it.... different formula or code
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  5. #5
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Criteria based Running totals across multiple sheets

    Marked the issue as solved even though it wasn;t through the route that I wanted to go. After much toiling I dropped back to punt. I created another sheet title jobs where I will keep a running list of all WO #'s, descriptions and areas. I then created 52 colomns with SUMIF formula looking for each individual WO # in each weekly sheet, then totaled them per Staright time and OT in a 53rd and 54th colomns. From there VLOOKUPS worked on each individual sheet looking at the totals colomn on the Jobs sheet.... Way to much time typing today!
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

+ 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.2.0