Calculate Monthly sum of pieces of every particular employee

Kartiksvn

New Member
Joined
Dec 31, 2018
Messages
26
Office Version
  1. 2019
Platform
  1. Windows
name with sheet 1piecesdate of work done by employee
a12201\01\2022
b525
01\01\2022
a43602\01\2022
c63002\01\2022
d22001\01\2022
d40002\01\2022
in second sheet, there is a lot more data in every month. So, I have to make one formula that calculate each month number of total pieces done by a, b, c, d etc... employees.
Example:

nameMonth (jan, feb, march) It can be changeable
ahere I want the formula to get sum of pieces as per month.
b
c
d
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
This may help you. I used sumproduct. The -- means that the value should be treated as a boolean (TRUE or FALSE).

Book1
CDEFGHI
2PiecesDateMonth
3Adam1221/1/20221Adam122
4Babu5251/1/20221Babu759
5Adam4362/1/20221Cato613
6Cato3442/1/20221Devi220
7Devi2201/1/20222Adam559
8Devi4002/1/20222Babu245
9Cato3891/1/20222Cato905
10Babu2452/1/20222Devi1021
11Adam1232/15/2022
12Cato5612/15/2022
13Cato2241/15/2022
14Babu2341/15/2022
15Devi6212/16/2022
16
17Checksums
18Babu759Jan
19Cato905Feb
20Devi1021Feb
Sheet1
Cell Formulas
RangeFormula
I3:I10I3=SUMPRODUCT(--(MONTH($E$3:$E$15)=G3),--($C$3:$C$15=H3),$D$3:$D$15)
D18D18=SUM(D4+D14)
D19D19=SUM(D6,D12)
D20D20=SUM(D15,D8)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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