VLOOKUP

mlandry62

New Member
Joined
Jul 31, 2023
Messages
15
Office Version
  1. 2003 or older
Platform
  1. Windows
Struggling to get VLOOKUP to work with multiple workbooks.

Second screenshot is the master spreadsheet, which by the way there are 10 of these!
The first sheet looks at the account numbers in Group 4110 to compare against Col B numbers and return the value from Col K to the Visual value.
Hopefully I've explained myself properly.

Issue I have is Multiple Trial Balances (2nd Screenshot) and account numbers in first screenshot have extensions that relate to the multiple trial balances.

Any assistance or advice would be greatly appreciated.

1690818252675.png



1690818317248.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
can you send the formula that is not working?

Stripping off the end of your Sub-Group numbers is easy. Then the VLOOKUP should be easy to do. But, which Sheet are you extracting Balances from?
 
Upvote 0
can you send the formula that is not working?

Stripping off the end of your Sub-Group numbers is easy. Then the VLOOKUP should be easy to do. But, which Sheet are you extracting Balances from?
That's the issue. I need all 10 trial balances to reference hence the sub group.
Each account number with a 3 character code references one of the trial balances.
 
Upvote 0
Are your sheets named according to the 3-character code? Or is there a correspondence between 3-character code:Balance sheet name?
 
Upvote 0
Are your sheets named according to the 3-character code? Or is there a correspondence between 3-character code:Balance sheet name?
No there isn't however I'm sure I could with some type of formula add the 3 character code to each of the 10 trial balances if that would help my situation.
 
Upvote 0
No there isn't however I'm sure I could with some type of formula add the 3 character code to each of the 10 trial balances if that would help my situation.
can you send the formula that is not working?

Stripping off the end of your Sub-Group numbers is easy. Then the VLOOKUP should be easy to do. But, which Sheet are you extracting Balances from?
Let me suggest that you create a simple lookup table that defines the relationship between 3-char code and balance sheets.
Something like below.
This table can be used to determine which Sheet will be used for the Balance Lookup.

Book2 (Autosaved).xlsm
AB
1CodeBalance Sheet Name
2GCISheet1
3ORCASheet2
4MFGSheet3
5KLKSheet4
6
Sheet3
 
Upvote 0
Let me suggest that you create a simple lookup table that defines the relationship between 3-char code and balance sheets.
Something like below.
This table can be used to determine which Sheet will be used for the Balance Lookup.

Book2 (Autosaved).xlsm
AB
1CodeBalance Sheet Name
2GCISheet1
3ORCASheet2
4MFGSheet3
5KLKSheet4
6
Sheet3
Should I assume that all the spreadsheets have to be on one workbook including the table you are suggesting?
 
Upvote 0
Should I assume that all the spreadsheets have to be on one workbook including the table you are suggesting?
Not necessarily. The Balance Sheet column would change slightly if this is the case. These workbooks would need to be opened.

I added the filename (Workbook name), as well as the range for each workbook.

CodeBalance Sheet Name
GCI[Workbook1.xls]Sheet1:$A$1:$K$10
ORCA[Workbook2.xls]Sheet2:$A$1:$K$10
MFG[Workbook3.xls]Sheet3:$A$1:$K$10
KLK[Workbook3.xls]Sheet4:$A$1:$K$10
 
Upvote 0
Not necessarily. The Balance Sheet column would change slightly if this is the case. These workbooks would need to be opened.

I added the filename (Workbook name), as well as the range for each workbook.

CodeBalance Sheet Name
GCI[Workbook1.xls]Sheet1:$A$1:$K$10
ORCA[Workbook2.xls]Sheet2:$A$1:$K$10
MFG[Workbook3.xls]Sheet3:$A$1:$K$10
KLK[Workbook3.xls]Sheet4:$A$1:$K$10
Thanks for helping an extreme novice! I'll see if I can put it all together.
 
Upvote 0
What would be the point of this? To ensure your consolidated trial balance matches the total of your trial balances?
Why don't you just use a TBLINK() to each of the TBs...?
 
Upvote 0

Forum statistics

Threads
1,215,105
Messages
6,123,118
Members
449,096
Latest member
provoking

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