Solved

Excel Foruma to compare to excel sheets

Posted on 2014-02-06
2
322 Views
Last Modified: 2014-02-06
Hi

How can I compare to columns (on different spreadsheets in the same workbook) that may have the same data (string value) and then enter in another value from a column that contain data.

For Example

Sheet 1
Column a
Accounting

Sheet2
Column A     Column b
Accounting    AA-Accounting

What I need to do is compare the sheets and move column b to sheet 1 column b
The sheets may not be in the same order or one sheet may have more than the other

Is there a formula that can do this or is there a quick macro that can accomplish this

Thank you for all of your help in advance
0
Comment
Question by:thomasm1948
[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
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39839747
You can use VLOOKUP

e.g.

=VLOOKUP(A2,'Sheet2'!A:B,2,0)

this returns result from second column of range Sheet2!A:B where A2 in your active sheet matches column A of Sheet2.

You can copy down.

Alternate:

=INDEX('Sheet2'!B:B,MATCH(A2,'Sheet2'!A:A,0))
0
 

Author Closing Comment

by:thomasm1948
ID: 39839784
That worked perfect.  Thank you very much
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

733 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