excel compare two rows and give value

Hi Experts ,

I have attached an excel sheet .

                  
team a       team b              player
a            a                           shawn
b            c                         david
c            a                           mach
d            b                           rich
e            e                         none
            b                          raj

What i am trying to do here is compare team a to team b and output players related to them.

i.e. if a = a output should be shawn


Plz help
LVL 16
santoshmotwaniAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jppintoCommented:
You didn't post any attachment...
0
jppintoCommented:
Where are the "player" names comming? A second list? It's not clear what you want to do here...please provide a sample sheet.
0
DaveCommented:
A simple IF test in the foruth column works, see attached

=IF(A2=B2,C2,"")

Cheers


dave
out.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

santoshmotwaniAuthor Commented:
sorry i forgot to attach.
question.xlsx
0
jppintoCommented:
OK, but what do you want to do here? You need to explain please. Do you want this file to be the source of a check on another sheet and if the criterias of team a and team b is met to return the player name?
0
santoshmotwaniAuthor Commented:
if team a and team b is met to return the player name?

thats all i need , its all in one shee
0
santoshmotwaniAuthor Commented:
@ brett

nice help mate !!! just one modification , there are two players for a in the sheet ... how to get all of them ...

like something compare a will everything in teamb ....then compare b with everthing in team b


Thnx
0
santoshmotwaniAuthor Commented:
thnx mate !!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.