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!!!!!
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.
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.
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.
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 formulabut 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=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")))
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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks