Solved

EXCEL 2007

Posted on 2011-03-17
7
248 Views
Last Modified: 2012-05-11
HI i have one shhet from my HR company and on another sheet i have exported all the information from AD 2003.

Shhet two with the AD information has a lot more names this is becaue of admin acounts and accounts with users who no longer work for the company but have not been removed from AD.  Is there a formual in Excel 2007 where i can match the names in sheet 1 which has the HR names and sheet 2 where i have all the information from AD.

Thank you
0
Comment
Question by:happyexchange
7 Comments
 
LVL 22

Expert Comment

by:rspahitz
ID: 35161245
I guess you could use the VLOOKUP.

Basically, next to each name in sheet 1, enter a formula like this:

=VLOOKUP(A1, Sheet2!$A$1, 1, FALSE)

and likewise in sheet 2:

=VLOOKUP(A1, Sheet1!$A$1, 1, FALSE)

Any errors (#N/A) mean that the item is not located on the other sheet.
If you filter the column and select just those with the error, you can (for example) copy the filtered items and add them to the end of the other sheet.
0
 
LVL 50

Expert Comment

by:Dave Brett
ID: 35161265
A sampe would help us tailor a solution

If the names are identical you can use a variery of functions to indentify common data between sheets

Ie to test if cell A1 on the HR sheet matches the AD data (if the AD sheet is named Sheet2)
=COUNTA(A1,Sheet2!A:A)>0
will return TRUE if there is a record in Sheet2 column A matching cell A1 on HR sheet

My duplicate master addin will also highlight common records with the advantage of handling case insensitive and/or white space elimination

Cheers

Dave

0
 
LVL 50

Expert Comment

by:Dave Brett
ID: 35161274
> =VLOOKUP(A1, Sheet2!$A$1, 1, FALSE)
on a single cell? :)
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 22

Expert Comment

by:rspahitz
ID: 35161288
Thanks Brett...should have been:

=VLOOKUP(A1, Sheet2!$A, 1, FALSE)

or, for example
 =VLOOKUP(A1, Sheet2!$A$1:$A$999, 1, FALSE)
0
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35178307
In the other thread I suggested COUNTIF as a solution and I attached a sample:

=IF(COUNTIF('Main Data'!$A$1:$A$6,A1)>=1,"Found "&COUNTIF('Main Data'!$A$1:$A$6,A1)&" times","Not found")
Match-data.xls
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35186098
happyexchange,

It would be much more meaningful and helpful if you take a few seconds to think of a good title for your questions. It helps the experts, and will help you as well later in the day, when you would like to open one of your questions. At the moment so many of your questions have the title Excel 2007 and is a bit confusing to select the one an expert is concentrating on.

Anyways, from what I have understood from your question, I think you need something like the match() function.

=match(a3,sheet2!A:A,0)

will give you the row number (say A10) on sheet2 for the value in cell A3 on sheet1.

Saqib
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

Title # Comments Views Activity
Excel conversion issue with Sql server 14 45
Excel VBA - Returning results from batch file 9 65
Excel partial font macro 14 25
increment numbers by 10 11 26
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 …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

943 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

4 Experts available now in Live!

Get 1:1 Help Now