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: 18
  • 2023.png
    2023.png
    143.8 KB · Views: 18

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
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,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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