Sum if based on horizontal and vertical criteria

Labamba32

New Member
Joined
Oct 8, 2013
Messages
21
Hi All - any help with this issue would be greatly appreciated.

I have a sheet where I make work assignments (including budgeted hours) to each employee by task by day. There can be multiple assignments and employees on any given day. The sheet outlines all assignments for a year and looks something like this:

TaskEmployee1/1/191/2/191/3/19
ASarah555
BJustin222
CSarah333
DBruce123
EJustin444

<tbody>
</tbody>


I then want a summary sheet where I can see the total hours assigned to an employee on any given day. It would look something like this (ideally in the format below so I can filter).

DateSarahJustinBruce
1/1/19861
1/2/19862
1/3/19863

<tbody>
</tbody>

I realize that I can use Hlookup an manually change the array for each day since all the dates in a year is a finite group. However I was hoping for something more formula driven? Thanks in advance for you suggestions.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
First table in Sheet1 then in Sheet2 B2:

=SUMIFS(INDEX(Sheet1!$C:$ND,,MATCH($A2,Sheet1!$C$1:$ND$1,0)),Sheet1!$B:$B,B$1)
 
Upvote 0

Forum statistics

Threads
1,215,364
Messages
6,124,510
Members
449,166
Latest member
hokjock

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