• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

Excel linking data question

Hi, i have an excel spreadsheet (SHEET1) which our customers use to track sales etc. I want to create and maintain a MASTER spreadsheet which would hold things like budgets, Float amounts etc which would feed data to SHEET1, so everytime we need to change something for a customer (like a waste budget), we would change the MASTER spreadsheet which would then change the customers spreadsheet.
The problem with this idea is that i want to use EXACTLY the same SHEET1 spreadsheet for all our customers. Obviously this wouldn't work as Sheet1 would need to get SPECIFIC data for the SPECIFIC customer.
Is there a way that i could enter the customer number in SHEET1 (in cell A1), then have multiple worksheets in the MASTER sheet (named as each customer no.) which would contain details for each customer. Then SHEET1 linking to MASTER / [CUSTOMER NO.] TAB (getting the customer no from cell A1)
Can anyone tell me if this is possible please? maybe using a VBScript??
0
pritchardl
Asked:
pritchardl
2 Solutions
 
Saurabh Singh TeotiaCommented:

You can use vlookup to do what you are looking for...

Enclosed is the workbook for your reference which tells you more about how this formula is used....

Saurabh...
vlookup.xlsx
0
 
pritchardlAuthor Commented:
Thanks for your reply.
How can i use VLookup to use the customers no in cell A1?
Remembering that i would want the VLookup command to be identical in every customers spreadsheet, but the customer no. in cell A1 be specific to the customer.
0
 
barry houdiniCommented:
You can use INDIRECT function.

Say you have "Bob Jones" (without quotes) in A1 then you can refer to a cell in Bob Jones worksheet in Master workbook with a formula like this

=INDIRECT("'[Master.xls]"&A1&"'!C10")

You need to have the Master workbook open as INDIRECT doesn't work with closed workbooks

regards, barry
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
pritchardlAuthor Commented:
Thanks Barry. Is there no way of updating while the MASTER spreadsheet is closed?
our customers wouldn't have access to the MASTER spreadsheet, we just wanted the SHEET1 to update from MASTER on open.
Thanks
0
 
barry houdiniCommented:
The only other way I know is to use INDIRECT.EXT function - that's part of Morefunc add-in, you'd have to install the add-in to use that function, though so I don't know if that would be feasible for you.

Morefunc is free if you want to try it - download from here

regards, barry
0
 
pritchardlAuthor Commented:
Thanks, I am still confused on how i would get it to recognise the Customer No.of the SHEET1 being used. Does anyone know what formula i would use to get it to look for the [customer No.] on SHEET1 then find the correct tab in the MASTER spreadsheet?
0
 
pritchardlAuthor Commented:
I have got the INDIRECT function working, but i cannot get the workbook to update values when the MASTER worksheet is closed using the INDIRECT.EXT function....
0
 
barry houdiniCommented:
Have you installed Morefunc? I don't have access to it at the moment - I can try later and get back to you......

barry
0
 
pritchardlAuthor Commented:
Hi barry. Yes i installed it on  my home PC (as i need to check with work that i can install the Morefunc on my work PC). It worked great after i figured out i had to put the full path of the MASTER spreadsheet in the formula.
I now have to check if we are allowed to install Morefunc into all of our customers PC's if this is the only way to achieve what we are trying to do..
Thanks for your help, it is very much appreciated.
0
 
TracyVBA DeveloperCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now