Hello, I'm looking for formula help. What I'm looking to do is COUNT the number of instances a value shows up in Column B, AFTER its value shows up in Column A. Consider the following data set:
Col A Col B
Jim Bob
Bob harry
Harry Jane
Bill Jane
Jim Bob
Jane Jim
Bob Jane
Harry Jim
Bill Jane
Jane Jim
1) What I'm looking for is counting the number of "Jim" in Column B AFTER the most recent occurrence of Jim in Column A (in this case, the 5th position down in Column A). The answer here should be "3" if I'm using the COUNT function.
In some form I think I need the OFFSET, MATCH and COUNTIF, but I can't wrap my arms around how to write it.
In other terms, the formula could be said as "Find the most recent occurrence of Jim in Column A, and count how many occurrences of Jim are in Column B after that point."
Thank you for the assistance.
Col A Col B
Jim Bob
Bob harry
Harry Jane
Bill Jane
Jim Bob
Jane Jim
Bob Jane
Harry Jim
Bill Jane
Jane Jim
1) What I'm looking for is counting the number of "Jim" in Column B AFTER the most recent occurrence of Jim in Column A (in this case, the 5th position down in Column A). The answer here should be "3" if I'm using the COUNT function.
In some form I think I need the OFFSET, MATCH and COUNTIF, but I can't wrap my arms around how to write it.
In other terms, the formula could be said as "Find the most recent occurrence of Jim in Column A, and count how many occurrences of Jim are in Column B after that point."
Thank you for the assistance.