# Counting unique values with FREQUENCY, ISNUMBER, SEARCH, and MATCH - problem when adding date

#### thomasuponor

##### New Member
With below formula I am counting unique values. Everything worked well until I added the dates. Any suggestions to solve this? Picture attached

Excel Formula:
``=SUM(--(FREQUENCY(IF((N:N="Installer/Contractor")*(ISNUMBER(SEARCH("|"&I:I&"|";"|Visit|Online Meeting|Webinar|Join Visit|")))*(ISNUMBER(SEARCH("Ole Olsen";J:J)))*(ISNUMBER(SEARCH(">=01-01-2020";D:D)))*(ISNUMBER(SEARCH("<=31-12-2020";D:D)));MATCH(F:F;F:F;0));ROW(F:F)-ROW(A3)+1)>0))``

Thomas

#### Attachments

• Capture.PNG
43.3 KB · Views: 5

### Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

#### mart37

##### Well-known Member
Can you use XL2BB to post your data.

#### mart37

##### Well-known Member
(ISNUMBER(SEARCH(">=01-01-2020";D:D)) --> (D:D>=DATE(2021;1;1))

Replies
13
Views
362
Replies
1
Views
114
Replies
8
Views
512
Replies
2
Views
1K
Replies
6
Views
3K

1,127,870
Messages
5,627,359
Members
416,245
Latest member
Xterminat

### 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.

### Which adblocker are you using?

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

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