Hi!
I've searched the internet to answer my question but unfortunately had no luck. Maybe you can help me find a solution to my task.
I know how to count how many times a string appears in a column:
=(SUM(LEN(A1:A40))-SUM(LEN(SUBSTITUTE(A1:A40,"search string 1",))))/LEN("search string 1")
But I need to count only if other column (eg. B) contains "search string 2". For example I want to know how many (green, red, golden) "APPLES" were sold to (Miss, missis, mister) "BROWN".
I had a vague idea about using an asterisk for joining two "SUM" formulae. But I couldn't do it without getting an error.
Is it possible? I'm sure there is some way.
Can you please give me a hint how to do it?
Thanks in advance.
Bookmarks