Formula to pull [Array?] totals from all columns that say "Reg" at the top?

Domroy

Board Regular
Joined
Mar 8, 2018
Messages
114
I have a workbook I'm trying to build - it has multiple project worksheets that have a breakdown of weeks (6/13-6/19, 6/20-6/26, etc) in column A. Underneath each week is a list of names. along the top there are projects, and how many hours someone puts in as "Reg" hours or "OT" hours (which correspond to each name in column A). This is all duplicated for every week because I need to have a place to enter the number of hours worked on each part of the project. I've uploaded a picture of my sheet. In any case, in the weekly total columns (AF and AG), I'd like to put in a formula that will look across the whole row for each person, and total each person's regular hours and overtime hours. I know there's a better way than to have to type in the formula like =sum(b6,d6,h6,k6...etc. That's my first issue.

Then, I have another sheet that looks for the regular and OT totals for each person on each project spreadsheet, and rolls that up (as each person may work on more than one project each week) as a payroll tab so that we know how many hours total each week that person has worked.

Can someone help me? I feel like this may be [very complicated, to me] array formulas. I'm good with formulas, but not array ones, and I feel like building this with array formulas may make my life SO MUCH EASIER, and save me so much time and remove the error percentage. UGH. It's so much.

Thanks in advance!!

Judi
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You can help people help you by posting good representative samples of your data, (anonymized) using the xl2bb tool. And folks also need to know what version of excel your use?
 
Upvote 0
AF hours 2023.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1Project Name
2DrapePatternCutStitchFit/Alter/ModDocument2nd Set SupportExtraExtraExtraExtraExtraExtraExtraExtraWeekly Totals
3
4RegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOTRegOT
56/13-6/19
6Randy00
7Judi00
8Sam00
9Danny00
10Ryan00
11Kyra00
12TOTAL000000000000000000000000000000000
136/20-6/26
14Randy00
15Judi00
16Sam00
17Danny00
18Ryan00
19Kyra00
20TOTAL000000000000000000000000000000000
Project Template
Cell Formulas
RangeFormula
AF6:AF11,AF14:AF19AF6=SUM(B6,D6,F6,H6,J6,L6,N6,P6,R6,T6)
AG6:AG11,AG14:AG19AG6=SUM(C6,E6,G6,I6,K6,M6,O6,Q6,S6, U6)
B12:AG12,B20:AG20B12=SUM(B6:B11)
AH12,AH20AH12=SUM(AF12:AG12)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top