simple comparing 2 columns of data

krisbuddies

New Member
Joined
Jul 30, 2018
Messages
14
hi guys

Data as follows[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]john[/TD]
[TD][/TD]
[TD]amy[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]bob[/TD]
[TD][/TD]
[TD]bob[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]tim[/TD]
[TD][/TD]
[TD]keith[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]amy[/TD]
[TD][/TD]
[TD]emma[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]becky[/TD]
[TD][/TD]
[TD]lisa[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]keith[/TD]
[TD][/TD]
[TD]john[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]george[/TD]
[TD][/TD]
[TD]lisa[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]dan[/TD]
[TD][/TD]
[TD]dan[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]lisa[/TD]
[TD][/TD]
[TD]tim[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]emma[/TD]
[TD][/TD]
[TD]becky[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


What I need is a formula (preferably, I don't like macro's!) in e that looks at columns c & a and shows how much that person has moved up or down.

So
e1 looks at c1, sees "amy", looks at a1:a10 to find "amy", therefore results in +3 (4-1).
e2 looks at c2, sees "bob", looks at a1:a10 to find "bob", therefore results in 0 (2-2).


Does that make sense??

Thanks in advance guys
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
try this


Book1
ABCDE
1johnamy3
2bobbob0
3timkeith3
4amyemma6
5beckylisa4
6keithjohn-5
7georgelisa4
8dandan0
9lisatim-6
10emmabecky-5
Sheet1
Cell Formulas
RangeFormula
E1=MATCH(C1,A:A,0)-MATCH(C1,C:C,0)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top