I have attached a worksheet and want to countif given a certain day and also if a data point has a particular character in a string
I have attached a worksheet and want to countif given a certain day and also if a data point has a particular character in a string
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
TryFormula:Please Login or Register to view this content.
Dave
Not too complex if you use SUMPRODUCT - try this in cell G3:
=SUMPRODUCT(($A$2:$A$11=$F3)*(LEN($B$2:$B$11)-LEN(SUBSTITUTE($B$2:$B$11,G$2,""))))
then copy across and down to suit. I can only see two 3's in Mon values.
Hope this helps.
Pete
Hi Dave,
you will only find one occurrence of the same digit in any one value - change the value in B3 to 333, or in B6 to 2133 to see what I mean.
Pete
Pete,
Yup. Good catch.
@pickslides
Thanks for the rep. If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks