Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
auspcs
 
Posts: n/a
Default sorting rows into a list


I have a table 10 columns wide, 15 rows high with data in "SOME" of the
cells
My problem is that I want to build a list from this table reading from
top to bottom. The list can have no blank cells. I can't find a way to
do this because some of the cells are blank. Any help would be greatly
appreciated


--
auspcs
------------------------------------------------------------------------
auspcs's Profile: http://www.excelforum.com/member.php...o&userid=34575
View this thread: http://www.excelforum.com/showthread...hreadid=543444

  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default sorting rows into a list


You could try a macro like...


Sub CreateList()
For Each Cell in Cells(1,1).CurrentRegion
If Cell < "" then Cells(65536,12).end(xlup).offset(1,0) =Cell
Next Cell
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=543444

  #3   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default sorting rows into a list


You could try a macro like...


Sub CreateList()
For Each Cell in Cells(1,1).CurrentRegion
If Cell < "" then Cells(65536,12).end(xlup).offset(1,0) =Cell
Next Cell
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=543444

  #4   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default sorting rows into a list


You could try a macro like...


Sub CreateList()
For Each Cell in Cells(1,1).CurrentRegion
If Cell < "" then Cells(65536,12).end(xlup).offset(1,0) =Cell
Next Cell
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=543444

  #5   Report Post  
Posted to microsoft.public.excel.misc
auspcs
 
Posts: n/a
Default sorting rows into a list


Thanks, that worked well, but I wanted to have this make the list
automatically when I open the spreadsheet. I thought i could do this
with formulas.


--
auspcs
------------------------------------------------------------------------
auspcs's Profile: http://www.excelforum.com/member.php...o&userid=34575
View this thread: http://www.excelforum.com/showthread...hreadid=543444



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
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
How to Change List Based on Value Chosen in Another List Edwin Kelly Excel Worksheet Functions 4 March 2nd 06 07:31 PM
How to delete rows when List toolbar's "delete" isnt highlighted? Linda Excel Worksheet Functions 1 May 26th 05 08:39 PM
How to keep rows together when sorting columns? Amit Excel Worksheet Functions 1 March 28th 05 06:01 PM
Sorting rows AND columns 3D Excel Worksheet Functions 2 January 7th 05 02:15 AM


All times are GMT +1. The time now is 04:59 AM.

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

About Us

"It's about Microsoft Excel"