Solved

match formula

Posted on 2014-01-27
5
247 Views
Last Modified: 2014-01-27
I have an xlsx with 2 sheets. In column G of sheet 1 are a list of names, in column H I have put a column called "match". On sheet 2 is also a column (column A) full of names. What formula can I put in column H to put a 1 if the name in column G sheet 1 is also evident in the list of names on sheet 2 column A, and a 0 if it isn't evident?
0
Comment
Question by:pma111
5 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 167 total points
ID: 39811816
=sign(countif(sheet2!A:A,g2))
0
 
LVL 19

Assisted Solution

by:helpfinder
helpfinder earned 167 total points
ID: 39811817
use VLOOKUP formula
if you want to have O and 1 then you can add in sheet 2 column B with 1´s and use VLOOKUP with IFERROR together - as you can see i the attached sample
sample.xlsx
0
 
LVL 3

Author Comment

by:pma111
ID: 39811835
top formula creates errors
0
 
LVL 19

Assisted Solution

by:MINDSUPERB
MINDSUPERB earned 166 total points
ID: 39811849
See the example attached.

Sincerely,

Ed
Sample.xlsx
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39811852
It works here
Match-by-count.xlsx
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

Suggested Solutions

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

911 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

19 Experts available now in Live!

Get 1:1 Help Now