Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
So I have multiple lists, Column C may have 5 items, Column D may have 3
items, Colume E may have 12 items. How do I consolidate all of the items listed in C, D & E into one list? Once that is done, I would like to then resort the one list into an alphabetical list. Perhaps with a macro & a button on the screen to activate the macro? Let me know. Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this. Moves all in col e & col f to col D. If you want row 1 chg
cells(2,i) to cells(1,i) Sub consolidatecols() For i = 5 To 6 dlr = Cells(Rows.Count, 4).End(xlUp).Row + 1 Cells(2, i).Resize(Cells(Rows.Count, i). _ End(xlUp).Row).Cut Cells(dlr, 4) Next i End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "momtoaj" wrote in message ... So I have multiple lists, Column C may have 5 items, Column D may have 3 items, Colume E may have 12 items. How do I consolidate all of the items listed in C, D & E into one list? Once that is done, I would like to then resort the one list into an alphabetical list. Perhaps with a macro & a button on the screen to activate the macro? Let me know. Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
So does this make the list & then re-sort it as well? What if I want to take
all of the data from these columns & put it all into column A? Right now my columns C, D & E (actually there are more than that) are formulas to pull over the lists from other sheets. So I need to put the new consolidated list into its own column. Hope that helps. I didn't follow any of the macro at all but am willing to give it a try. Thanks! "Don Guillett" wrote: Try this. Moves all in col e & col f to col D. If you want row 1 chg cells(2,i) to cells(1,i) Sub consolidatecols() For i = 5 To 6 dlr = Cells(Rows.Count, 4).End(xlUp).Row + 1 Cells(2, i).Resize(Cells(Rows.Count, i). _ End(xlUp).Row).Cut Cells(dlr, 4) Next i End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "momtoaj" wrote in message ... So I have multiple lists, Column C may have 5 items, Column D may have 3 items, Colume E may have 12 items. How do I consolidate all of the items listed in C, D & E into one list? Once that is done, I would like to then resort the one list into an alphabetical list. Perhaps with a macro & a button on the screen to activate the macro? Let me know. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
LISTS- adding info without repeat to other lists | Excel Discussion (Misc queries) | |||
Lists referencing lists...is it possible? | Excel Worksheet Functions | |||
Multiple lists with repeated values for dependet drop down lists | Excel Worksheet Functions | |||
lists from other lists in excel | Excel Worksheet Functions | |||
new user with easy question? not easy for me | New Users to Excel |