Count unique IDs with a wildcard criteria for another column

ausswe

New Member
Joined
Feb 19, 2013
Messages
42
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi,
I'm trying to count unique IDs in a table with ID and Resource as two separate columns. In this case I need to count any resources that contain "land" in the resource name (can be anywhere in the resource name).

I have been searching around and came across the UNIQUE and FILTER function for O365 and have tried the following but it shows as an empty result:
Excel Formula:
=COUNT(UNIQUE(FILTER(SOL[ID];ISNUMBER(SEARCH("land";SOL[Resource])))))

I have also tried:
Excel Formula:
=COUNT(UNIQUE(FILTER(SOL[ID];ISNUMBER(SEARCH("land";SOL[Resource];1)))))

Any thoughts on where the formula is wrong?

Thanks in advance!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try change COUNT to ROWS:

Excel Formula:
=ROWS(UNIQUE(FILTER(SOL[ID];ISNUMBER(SEARCH("land";SOL[Resource])))))
 
Upvote 0
Solution

Forum statistics

Threads
1,221,566
Messages
6,160,525
Members
451,655
Latest member
rugubara

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