Days, Employees, Projects, Sums

OlYeller21

New Member
Joined
Jun 20, 2012
Messages
1
Hello!

I'm trying to make a tab that sums data from another tab.

The tab titled "2023" holds a list of all employees (D1:DP) that make the x-axis and Dates in 2023 (A3:A367) that make the y-axis. There's also a cheater column that just shows the 3-letter month of the date in A3:A367. In plain English, this tab is filled out daily by a project manager and the indicate what project each employee was on that day.

The tab titled "Project Sum Sheet" holds a list of months (C5:N5) for the year (2023) found in cells (C2:N2). This repeats for a few years but ignore anything outside of 2023. There's a few cheater rows where I was trying different methods. There's also a list of projects in column A6:A36. There's also a sum column but ignore that for now. In plain English, this tab is supposed to show how many man-days were worked on each project in a given month/year.

I want the cells in the table in the tab Project Sum Sheet to show the count of the number of man-days that were used on a given project (column A) for a given month (row 5) in a given year/tab (row 2).

In case you're not familiar, a man-day is one day of work for one person.

I've been working since 9am to come up with the right combination of countifs and indirects to make this work and I keep failing. I could select ranges manually but I really want this to be a copy/past job.

Any help you can provide would be greatly appreciated.
 

Attachments

  • Project Sum Sheet.png
    Project Sum Sheet.png
    64.7 KB · Views: 19
  • 2023.png
    2023.png
    143.8 KB · Views: 19

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Try something like the good old-fashioned sumproduct, like this:
Book1
ABCD
11-1-202301
220232023
3
4
5janfeb
6Thunderstrike2819
Project Sum
Cell Formulas
RangeFormula
C2:D2C2=YEAR($A$1)
C5:D5C5=TEXT(EOMONTH($A$1,C1),"mmm")
C6:D6C6=SUMPRODUCT(('2023'!$D$2:$S$62='Project Sum'!$A6)*('2023'!$B$2:$B$62='Project Sum'!C$5))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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