Before i start, i know i could ask this in a more appropriate forum, but it has some programming relevance, i think :o)
I'm looking to build a new spreadsheet for the my work. I produce batch cards, for manufacturing paint, which i have used spreadsheets, to allow the changing of the batch size, and have all the raw materials change accordingly, simple stuff.
I also have a workbook in excel holding stainer weighings (amounts of stainers to add to the paint, to tint the appropriate colour.)
Here's my problem. I'm aware of IF statements in excel. They are a little basic though. LOOKUP is better, but what i need is this:
I physically enter the colour code, EG 20C33, and upon entering that, i need to access the correct worksheet in the stainer book, to get the stainer weighings to appear.
For instance:
File: c:\batchcard.xls <<< This is the batch card
File: c:\stainerbook.xls <<< This is the stainer weighing, container worksheets with the EXACT same colour code i would enter.
Anyway to copy a specific worksheets contents, in another worksheet, as the result of an IF statement, or lookup statement, is my question really.
EG
LOOKUP(A2,{"20C33"},{'[c:\stainerbook.xls]20C33'!$A$1})
Sorry for the very long post. It would be great if someone could offer some suggestions :o) ( I do realise this could be done in blitz with some effort, but i have alot of batch card formulations and data already entered into excel, and creating my own blitz app would make the system reliant on an app that is untested and only used be me. Not good if i leave and my app crashes...)
I'm looking to build a new spreadsheet for the my work. I produce batch cards, for manufacturing paint, which i have used spreadsheets, to allow the changing of the batch size, and have all the raw materials change accordingly, simple stuff.
I also have a workbook in excel holding stainer weighings (amounts of stainers to add to the paint, to tint the appropriate colour.)
Here's my problem. I'm aware of IF statements in excel. They are a little basic though. LOOKUP is better, but what i need is this:
I physically enter the colour code, EG 20C33, and upon entering that, i need to access the correct worksheet in the stainer book, to get the stainer weighings to appear.
For instance:
File: c:\batchcard.xls <<< This is the batch card
File: c:\stainerbook.xls <<< This is the stainer weighing, container worksheets with the EXACT same colour code i would enter.
Anyway to copy a specific worksheets contents, in another worksheet, as the result of an IF statement, or lookup statement, is my question really.
EG
LOOKUP(A2,{"20C33"},{'[c:\stainerbook.xls]20C33'!$A$1})
Sorry for the very long post. It would be great if someone could offer some suggestions :o) ( I do realise this could be done in blitz with some effort, but i have alot of batch card formulations and data already entered into excel, and creating my own blitz app would make the system reliant on an app that is untested and only used be me. Not good if i leave and my app crashes...)