Duplicate values in different column, associated rows?

stevebob

New Member
Joined
Sep 19, 2011
Messages
2
Hi,
I have two different lists and I need to isolate the adjacent columns for similar values between the lists. For example, I need to compare column1 and columnX find the similar values and also isolate the column2 values associated with column1.

column1: column2: columnX:
steve $400 steve
henry $300 henry
frank $300 frank
joe $0 joe

any advice?

Thanks!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Not sure if I get the whole idea, but I'll take a stab at it. In cell C1,

=IF(A1=X1,B1,"")

Copy this down to all of the data. The formula says, if what is in Column A is the same as what is in Column X, then give me what is in Column B. Otherwise, do nothing or "".

Good Luck.

Jeff
 
Upvote 0
Not sure if I get the whole idea, but I'll take a stab at it. In cell C1,

=IF(A1=X1,B1,"")

Copy this down to all of the data. The formula says, if what is in Column A is the same as what is in Column X, then give me what is in Column B. Otherwise, do nothing or "".

Good Luck.

Jeff


Hey Jeff, thanks for your response. I tried your trick, but it doesn't seem to work. I think because the values of A and X aren't equal, my lists aren't aligned. Does this make sense?
 
Upvote 0
So, some of your values in column A are in Column X, but not all of them. If your value in column A is in column X, then return what is in B?

=if(Iserror(Vlookup(A1,$X$1:$X$1000,1,0)),"",B1)

If you cannot find A1 in column X, do nothing. IF you do find it, bring what's in B1.

Jeff
 
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,519
Members
452,921
Latest member
BBQKING

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