Find Unique Entries for Days

speth

New Member
Joined
Feb 18, 2013
Messages
27
Hello,

I have information laid out in the following:

Col A: Date
Col B: Time
Col C: WeekNum
Col D: Category
Col E: Details

I have multiple entries per day at different times, and I'm attempting to pull a weekly report for days with unique (distinct?) values. I've tried to wrap my brain around this with a sumproduct/countifs, but no success.

What I'm essentially trying to count is....

Col C (WeekNum) = specific number
Col E (Details) = contains the term "blue"
Col A (Date) = count the unique days where the above is true

So I'm looking for days in a week where "blue" is part of the details. Blue could show up multiple times per day, or not at all on some days, that's what's kind of tripping me up.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
How about
ZFluff.xlsm
ABCDEFGH
1
201/01/20201This is blueblue
302/01/20201This is red12
403/01/20201Blue Black & white23
504/01/20201Black & white
605/01/20201But red all over
706/01/20202blue
807/01/20202red
908/01/20202white
1009/01/20202blue
1110/01/20202blue
1211/01/20202white
1312/01/20202black
1413/01/20203
1514/01/20203
Model
Cell Formulas
RangeFormula
H3:H4H3=SUM(--(FREQUENCY(IF((ISNUMBER(SEARCH($H$2,$D$2:$D$15))*($C$2:$C$15=$G3)),$A$2:$A$15),$A$2:$A$15)>0))
C2:C15C2=ISOWEEKNUM(A2)
 
Upvote 0

Forum statistics

Threads
1,216,120
Messages
6,128,948
Members
449,480
Latest member
yesitisasport

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