ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   make column lists for select query. (https://www.excelbanter.com/new-users-excel/150336-make-column-lists-select-query.html)

kang

make column lists for select query.
 
sheet1
table1 col1_1
table1 col1_2
table1 col1_3
table1 col1_4
table1 col1_5
table1 col1_6
table2 col2_1
table2 col2_2
table2 col2_3
table2 col2_4
....
....


sheet2
table1 col1_1,col1_2,col1_3,col1_4,col1_5,col1_6,
table2 col2_1,col2_2,col2_3,col2_4,
....
....

I want to make column lists for some table listed in sheet1.
for example, select column_lists from table1

without vba is it possible?

thanks.

Barb Reinhardt

make column lists for select query.
 
I think you may want some dependent lists.

http://www.contextures.com/xlDataVal02.html

HTH,
Barb Reinhardt

"kang" wrote:

sheet1
table1 col1_1
table1 col1_2
table1 col1_3
table1 col1_4
table1 col1_5
table1 col1_6
table2 col2_1
table2 col2_2
table2 col2_3
table2 col2_4
....
....


sheet2
table1 col1_1,col1_2,col1_3,col1_4,col1_5,col1_6,
table2 col2_1,col2_2,col2_3,col2_4,
....
....

I want to make column lists for some table listed in sheet1.
for example, select column_lists from table1

without vba is it possible?

thanks.



All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com