You're welcome. Thanks for the feedback!
--
Biff
Microsoft Excel MVP
"hfx.selling" <(E-Mail Removed)> wrote in message
news:1492ecef-d7dd-4b75-90c0-(E-Mail Removed)...
Awesome, that worked perfectly. I was going to do something similar to
the option Gary's student proposed, but this formula worked like a
charm. I should've mentioned that there's hundreds and hundreds of
those 'data' cells to check, so this option is certainly preferable.
Thanks so much - my Monday morning is saved! :-)
On Nov 1, 1:43 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> One way...
>
> A1 = Test.Guy Sample.User Admin
>
> D1
2 = Test.Guy, Sample.user
>
> =SUMPRODUCT(--(ISNUMBER(SEARCH(D1
2,A1))))
>
> --
> Biff
> Microsoft Excel MVP
>
> "hfx.selling" <hfx.n...@gmail.com> wrote in message
>
> news:8d5d6def-512e-430c-b50e-(E-Mail Removed)...
>
>
>
> > I have a set of data comprised of user IDs separated by a space
> > (output from a logging application): A sample cell might contain the
> > following value (only a space between the values):
>
> > Test.Guy Sample.User Admin
>
> > I also have a range containing a subset of the possible values (user
> > names), each in their own set of cells, such as:
> > Test.Guy
> > Sample.user
>
> > I would like to craft a formula that counts the number of users from
> > the list that appear in the cells. So ideally, I would have a cell
> > that reports "Number of OUR users" as 2 for the above example, as two
> > of the three values are in my range of user IDs.
>
> > Does anyone have any suggestions on how to accomplish this?