Help with VLOOKUP

EQUILIBRIUM89

New Member
Joined
Nov 19, 2014
Messages
10
Hi everyone,

I am new to Vlookup and am comparing two columns in one spreadsheet tab to multiple columns of data in another tab. If the data is found in the second tab, then return the 6th column in the second tab.

For instance,
The first tab, cell C2 contains transactions, cell E2 contains the corresponding accounting module.

Second sheet contains several columns one with the accounting module and another with the transactions.

If the transactions in the first page are found in the second spreadsheet then return a value found in 2nd spreadsheet.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Here is the first link I found on vlookup. I prefer index match. How to Use INDEX MATCH

Code:
=INDEX('Sheet Name'!FullRange,MATCH('Sheet Name'!LookupValueCell,'Sheet Name'!LookupValueSingleColumnRange,0),Column # in Full Range to return)

Example, Looks at data in A2:C10 of the "First Sheet" Sheet and looks through C2:C10 for the value in A2 on second sheet. It will return the value in the row that matches in column 2.
Code:
=INDEX('First Sheet'!A2:C10,MATCH(SecondSheet!A2,'First Sheet'!C2:C10,0),2)
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top