Solved

excel compare two rows and give value

Posted on 2011-03-10
8
232 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
  • 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
 
LVL 16

Author Comment

by:santoshmotwani
ID: 35100879
sorry i forgot to attach.
question.xlsx
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now