Only need to activate the ODBC AddIn, but yes, that is a very good approach too !That is pretty much for everybody to do. No wizards, no need to manually update query.
SQL.xls | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | List | ||||||
2 | A | DSN=ExcelFiles,DBQ=C:\Cort\testss\SQL.xls | |||||
3 | A | SELECTAAA,BBBFROMtTableWHEREAAA=A | |||||
4 | A | ||||||
5 | B | Filename: | SQL.xls | ||||
6 | C | Path: | C:\Cort\testss\ | ||||
7 | D | Criteria: | = | A | |||
8 | E | ||||||
9 | F | Single: | #N/A | ||||
10 | F | ||||||
11 | F | Array: | #N/A | #N/A | |||
12 | G | #N/A | #N/A | ||||
13 | H | #N/A | #N/A | ||||
14 | I | #N/A | #N/A | ||||
15 | J | #N/A | #N/A | ||||
Excel |
Test.xls | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Nombre | Edad | ||||
2 | JuanPablo | 24 | ||||
3 | Alberto | 28 | ||||
4 | Catalina | 20 | ||||
5 | ||||||
6 | ||||||
7 | FileName | C:\Misdocumentos\Test.xls | ||||
8 | Conection | DSN=ExcelFiles;DBQ=C:\Misdocumentos\Test.xls | ||||
9 | Output | |||||
10 | Controller | 4 | ||||
11 | Query | SELECTEdadFROM`C:\Misdocumentos\Test.xls`.ListWHERENombre='JuanPablo' | ||||
12 | Column_Names | FALSO | ||||
13 | ||||||
14 | Edad | 24 | ||||
Hoja1 |
Aladin Akyurek said:...
What method should be prefered?
(1) Method 3, if you can realize the required setup.
(2) Method 2, if (1) cannot be realized.
(3) Method 1b, if (2) is not possible, simply because your users cannot add required add-in...
aaUniqList Method1.xls | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ||||||
2 | 17 | |||||
3 | 14 | 10 | ||||
4 | SortedList | Rank | UniquifiedList | |||
5 | 8 | 5 | aladin | |||
6 | 2 | 1 | bob | |||
7 | 11 | 8 | brian | |||
8 | 7 | 4 | chris | |||
9 | 9 | 6 | damon | |||
10 | juan | |||||
11 | julie | |||||
12 | 10 | 7 | mark | |||
13 | 4 | 2 | ricky | |||
14 | 5 | 3 | steve | |||
15 | ||||||
16 | 14 | 10 | ||||
17 | ||||||
18 | 13 | 9 | ||||
19 | ||||||
Admin |