Hi Rani,
There are many ways you could do this, but I think the best would be to use Excel's VLOOKUP function to compare the model number in Stardraw's External Datasource spreadsheet with that in the Extron spreadsheet, and get the value you want from the appropriate column.
In Stardraw, use Tools | External Datasource to build your spreadsheet, choosing Extron and then selecting Cost Price and Sale Price as the Attributes you want. You'll get something like this:
Model Number | Description | Cost Price | Sale Price |
70-097-11 | Single Space 2 1-4 In Stereo (Black) | 21 | 23 |
70-101-61 | Sksc 1 15HD F PT SS (Gray) | 22 | 24 |
In Excel, use VLOOKUP to get values for Cost Price and Sale Price. As an example, and assuming your Extron price list is saved as "C:\Data\Extron.xls", cell C2 would contain this formula:
=VLOOKUP(A2,'C:\Data\[Extron.xls]Sheet1'!$A:$D,3,FALSE)
This formula gets the value of cell A2 ("70-097-11") and locates the row that contains that value in the lookup array (columns A-D in the Extron spreadsheet), and it returns the value found in column 3 of that row (which is the Cost. To return Sale use column 4). The FALSE statement is there to avoid returning an error if the Extron spreadsheet is not sorted.
The advantage of using this method is that it handles changes to the Extron spreadsheet, and it's easy to change the link to another spreadsheet.
I hope this is helpful.
Kind regards,
Rob Robinson
Stardraw.com