Hello, I'm trying to create a formula that will search for a matching value in the spreadsheet, and then do a subtraction calculation. Example:
A B
1 Bob
2 Chris
3 Mike
4 John
5 Shawn
C D
1 John
2 Mike
3 Chris
4 Shawn
5 Bob
What I need is to find the difference between the two places a certain name is listed, and display in column 'E'. For example, in column 'E' next to Bob's name, I need it to equal a 4, since 5-1 is 4. Next to Chris in column 'E' would be a 1, since 3-2 is 1.
Thanks for any help.
A B
1 Bob
2 Chris
3 Mike
4 John
5 Shawn
C D
1 John
2 Mike
3 Chris
4 Shawn
5 Bob
What I need is to find the difference between the two places a certain name is listed, and display in column 'E'. For example, in column 'E' next to Bob's name, I need it to equal a 4, since 5-1 is 4. Next to Chris in column 'E' would be a 1, since 3-2 is 1.
Thanks for any help.