Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Lists - Probably Easy ?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Lists - Probably Easy ?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Lists - Probably Easy ?

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!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Lists - Probably Easy ?

Try it this way. Just change the 5 column number
Sub consolidatecols()
For i = 3 To 5 'last column number
dlr = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(1, i).Resize(Cells(Rows.Count, i). _
End(xlUp).Row).Copy Cells(dlr, 1)
Next i
'sort a
Range("A1").Sort Key1:=Range("A1"), _
Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, _
dataOption1:=xlSortNormal
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"momtoaj" wrote in message
...
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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LISTS- adding info without repeat to other lists Jemimastar Excel Discussion (Misc queries) 1 December 1st 06 09:29 PM
Lists referencing lists...is it possible? JohnB Excel Worksheet Functions 2 October 18th 06 06:37 PM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
lists from other lists in excel Lew Excel Worksheet Functions 5 March 13th 06 07:21 PM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"