Excel linking data question

Posted on 2011-03-04
Last Modified: 2012-06-21
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??
Question by:pritchardl
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 59

Accepted Solution

Saurabh Singh Teotia earned 250 total points
ID: 35035718

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....


Author Comment

ID: 35036009
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.
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 250 total points
ID: 35036451
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


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

regards, barry
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35036545
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.
LVL 50

Expert Comment

by:barry houdini
ID: 35036846
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

Author Comment

ID: 35037118
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?

Author Comment

ID: 35037400
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....
LVL 50

Expert Comment

by:barry houdini
ID: 35037817
Have you installed Morefunc? I don't have access to it at the moment - I can try later and get back to you......


Author Comment

ID: 35043045
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.
LVL 24

Expert Comment

ID: 35356996
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.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question