Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

excel compare two rows and give value

Posted on 2011-03-10
Medium Priority
240 Views
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
0
Question by:santoshmotwani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 4
• 3

LVL 33

Expert Comment

ID: 35100838
You didn't post any attachment...
0

LVL 33

Expert Comment

ID: 35100858
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

LVL 50

Accepted Solution

Dave Brett earned 2000 total points
ID: 35100874
A simple IF test in the foruth column works, see attached

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

Cheers

dave
out.xlsx
0

LVL 16

Author Comment

ID: 35100879
sorry i forgot to attach.
question.xlsx
0

LVL 33

Expert Comment

ID: 35100962
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

LVL 16

Author Comment

ID: 35100982
if team a and team b is met to return the player name?

thats all i need , its all in one shee
0

LVL 16

Author Comment

ID: 35101043
@ 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

LVL 16

Author Closing Comment

ID: 35103435
thnx mate !!!!
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference texâ€¦
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, tâ€¦
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Suggested Courses
Course of the Month10 days, 9 hours left to enroll