Hi All,
Sample data and expected results attached.
I require a formula for cell G2 which does a unique count of IDs in column A where column B contains one word only.
Expected results should be 3.
Hi All,
Sample data and expected results attached.
I require a formula for cell G2 which does a unique count of IDs in column A where column B contains one word only.
Expected results should be 3.
Try
=COUNT(UNIQUE(FILTER(A2:A17,ISERROR(FIND(" ",B2:B17)))))
Not sure how far down your table goes. Inefficient whole-column formula would be:
Or you could adjust to suit your data:Please Login or Register to view this content.
WBDPlease Login or Register to view this content.
Office 365 on Windows 11, looking for ✶ rep!
Thanks Bo_Ry it works but it is counting IDs where cells in column B are blank in my real data. I've updated the sample data to show blank cells.
WideBoyDixon,
I've updated the sample data to include blank cells in column B as I missed that out.
Try
=COUNT(UNIQUE(FILTER(A2:A50,(B2:B50>"")*ISERROR(FIND(" ",B2:B50)))))
Bo_Ry - That works perfect.
Also. what formula would I use for column C If I wanted to identify rows where column B only contains 1 word?
I tried the following formula however it returns Yes for blank cells too. =IF(COUNTIF(B2,"* *"),"","Yes")
Last edited by makaveeti; 04-26-2022 at 02:40 PM.
C2 formula:
WBDPlease Login or Register to view this content.
Thank you WBD. That work's perfect.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks