Another Days Worked Problem

Wx4usa

New Member
Joined
Aug 28, 2020
Messages
6
Office Version
  1. 365
Platform
  1. MacOS
I have a list of service calls by date and amount. Column A is Date, Column B is amount. On a report in row 1 is a header of months>> Jan-20, Feb-20, Mar-20 and so on.

I need a formula to return days worked in cell E2 Jan-20. See image below. Unique days in Jan 20 should be 4.

Screen Shot 2020-08-29 at 4.46.17 PM.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Is this what you want

In cell E2
=SUMIFS($B$2:$B$11,$A$2:$A$11,">="&E$1,$A$2:$A$11,"<="&EOMONTH(E$1,0))
 
Upvote 0
Yes, that answers my second question. The first question still puzzles me. How do I return the number of days worked? It should return 4.
 
Upvote 0
How about
+Fluff New.xlsm
ABCDEF
101/01/202001/02/2020
201/01/202042
301/01/2020
402/01/2020
502/01/2020
602/01/2020
703/01/2020
805/01/2020
905/01/2020
1005/01/2020
1105/01/2020
1201/02/2020
1302/02/2020
14
15
Master
Cell Formulas
RangeFormula
E2:F2E2=ROWS(UNIQUE(FILTER($A$2:$A$20,(MONTH($A$2:$A$20)=MONTH(E1))*($A$2:$A$20<>""))))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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