Solved

Excel linking data question

Posted on 2011-03-04
11
244 Views
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??
0
Comment
Question by:pritchardl
11 Comments
 
LVL 59

Accepted Solution

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

Saurabh...
vlookup.xlsx
0
 

Author Comment

by:pritchardl
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.
0
 
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

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

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

regards, barry
0
 

Author Comment

by:pritchardl
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.
Thanks
0
 
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
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:pritchardl
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?
0
 

Author Comment

by:pritchardl
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....
0
 
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......

barry
0
 

Author Comment

by:pritchardl
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.
0
 
LVL 24

Expert Comment

by:broomee9
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.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now