vlookup with different workbooks

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101
I want to use the vlookup function in two different workbooks. In sheet1 of workbook1 I have a list of all the invoices issued during the year. In workbook2 I have several sheets one for each month of the year, I use those sheets to keep track of the checking account's transactions. I want that when I enter the invoice number paid in a certain month, it automatically pastes the payment date in the workbook1 in the same invoice number.

Is this possible????
 

Some videos you may like

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
On 2002-11-01 17:27, huorsa wrote:
I want to use the vlookup function in two different workbooks. In sheet1 of workbook1 I have a list of all the invoices issued during the year. In workbook2 I have several sheets one for each month of the year, I use those sheets to keep track of the checking account's transactions. I want that when I enter the invoice number paid in a certain month, it automatically pastes the payment date in the workbook1 in the same invoice number.

Is this possible????

How about:

=VLOOKUP(invoice-num,THREED(Jan02:Nov02!B2:H100),2,0)

which uses a function from the morefunc.xll add-in.
 

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101
Aladin:

Where can I get morefunc.xll add-in.

Does it come with excel???
 

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101

ADVERTISEMENT

Aladin:

I am trying to use the function THREED by itself following the instructions in the add-in but instead of getting an array I get zero as the answer. I hit Ctrl-Shift-Enter after writing the formula.

Do you know what am I doing wrong??
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
On 2002-11-01 19:02, huorsa wrote:
Aladin:

I am trying to use the function THREED by itself following the instructions in the add-in but instead of getting an array I get zero as the answer. I hit Ctrl-Shift-Enter after writing the formula.

Do you know what am I doing wrong??

Would you post your formula?
 

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101

ADVERTISEMENT

This is the formula I am trying to use

=vlookup(A207,THREED(A207,'[expenses control.xls]sep:eek:ct'!$A$8:$B$100),2,FALSE)

and I get #|value| but when I put:

=THREED('[expenses control.xls]sep:eek:ct'!$A$8:$B$100)

I get zero

After I write each formula I press Crtl-Shift-Enter
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
On 2002-11-01 19:09, huorsa wrote:
This is the formula I am trying to use

=vlookup(A207,THREED(A207,'[expenses control.xls]sep:eek:ct'!$A$8:$B$100),2,FALSE)

and I get #|value| but when I put:

=THREED('[expenses control.xls]sep:eek:ct'!$A$8:$B$100)

I get zero

After I write each formula I press Crtl-Shift-Enter

Crtl-Shift-Enter is not needed.

expenses control.xls must be open.

Lookup table area must be of equal size in sep and oct sheets and consist of identical range.

BTW, you can replace FALSE with 0, which means the same thing to excel.

Now I see it: Change your formula to:

=vlookup(A207,THREED('[expenses control.xls]sep:eek:ct'!$A$8:$B$100),2,0)

Aladin
This message was edited by Aladin Akyurek on 2002-11-01 19:23
 

huorsa

Board Regular
Joined
Feb 15, 2002
Messages
101
Thanks,

It is exactly what I was looking for.

Just to let you know, the formula doesn't work if you use a worksheet with two words name, it has to be one word name.
Example.
expenses control won't work but
expensescontrol will work
This message was edited by huorsa on 2002-11-01 19:54
This message was edited by huorsa on 2002-11-01 19:55
 

Watch MrExcel Video

Forum statistics

Threads
1,122,553
Messages
5,596,806
Members
414,103
Latest member
imamalidadashzada

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
Top