Solved

excel compare two rows and give value

Posted on 2011-03-10
8
235 Views
Last Modified: 2012-05-11
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
Comment
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
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 35100838
You didn't post any attachment...
0
 
LVL 33

Expert Comment

by:jppinto
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

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

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

Cheers


dave
out.xlsx
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 16

Author Comment

by:santoshmotwani
ID: 35100879
sorry i forgot to attach.
question.xlsx
0
 
LVL 33

Expert Comment

by:jppinto
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

by:santoshmotwani
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

by:santoshmotwani
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

by:santoshmotwani
ID: 35103435
thnx mate !!!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question