vlookup formular

xiaojo

New Member
Joined
May 16, 2003
Messages
3
=VLOOKUP (A2, Data, MATCH(A1, Row 1, 0))

how to use this formular if i am processing date from different worksheet?
cuz i have named a particular data area as Jan for example.. in the table_array criteria.. how do i specify the data area to refer?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
xiaojo said:
different worksheet..

Let D1:F60 in Sheet2 house the lookup table including the labels/headers. Labels are in D1:F1.

Select D2:F60 and name the selection LTable via the Name Box.
Select D1:F1 and name the selection LFields via the Name Box.

Given the names just defined, you can set up a VLOOKUP formula like this...

=VLOOKUP(lookup-value,LTable,MATCH(field-value,LFields,0),X)

where X is 0 (FALSE) or 1 (TRUE).
 
Upvote 0
You need to remember that the VLOOKUP formula if numbers of any kind are used they MUST be in ascending order so if your data area is not in ascending order when you formulate you will get a NA# value or #### value. I had a similar problem and I used INDEX and MATCH together
 
Upvote 0
Excel=Junky said:
You need to remember that the VLOOKUP formula if numbers of any kind are used they MUST be in ascending order so if your data area is not in ascending order when you formulate you will get a NA# value or #### value. I had a similar problem and I used INDEX and MATCH together

Re-read the Help file.
 
Upvote 0

Forum statistics

Threads
1,221,706
Messages
6,161,406
Members
451,702
Latest member
Kc3475

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