#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default Sorting a list

Hello

I have list that i need to sort and a I can't use the filter to do it, I
want to use formulas to do it. What i want to do is use a formula to take all
the rows that have Table No "1" and display them starting in say column G. I
have been trying offsets, and lookups but I struggling with this. I can't get
the filter to work the way I want either. Any help would be appreciated

A B C D E

1 Table No. H Q Start Date End Date
2 1 2.5 25 2006-05-14 2005-06-14
3 1 3.5 35 2006-05-14 2005-06-14
4 2 3.0 30 2006-10-14 2005-12-14
4 2 4.0 40 2006-10-14 2005-12-14

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Sorting a list

When you said "I can't use the filter to do it". Do you mean, you are not
allowed to use it or you don't want to use it or it doesn't works when you
use it

To me, the easiest way is to use AutoFilter.

"Jamie" wrote:

Hello

I have list that i need to sort and a I can't use the filter to do it, I
want to use formulas to do it. What i want to do is use a formula to take all
the rows that have Table No "1" and display them starting in say column G. I
have been trying offsets, and lookups but I struggling with this. I can't get
the filter to work the way I want either. Any help would be appreciated

A B C D E

1 Table No. H Q Start Date End Date
2 1 2.5 25 2006-05-14 2005-06-14
3 1 3.5 35 2006-05-14 2005-06-14
4 2 3.0 30 2006-10-14 2005-12-14
4 2 4.0 40 2006-10-14 2005-12-14

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default Sorting a list

The sheet is part of an automated workbook in which queries bring in the data
and then it is automatically sorted and run through various calculations, the
list size will change as changes are made in the database, for the most part
this will be a hands off spreadsheet controlled through a scheduler, the only
thing the person using the spreadsheet would change is on the first page I
have set up cells that are tied into lookups so they can change how lists are
sorted or searched. I hope this helps

"Teethless mama" wrote:

When you said "I can't use the filter to do it". Do you mean, you are not
allowed to use it or you don't want to use it or it doesn't works when you
use it

To me, the easiest way is to use AutoFilter.

"Jamie" wrote:

Hello

I have list that i need to sort and a I can't use the filter to do it, I
want to use formulas to do it. What i want to do is use a formula to take all
the rows that have Table No "1" and display them starting in say column G. I
have been trying offsets, and lookups but I struggling with this. I can't get
the filter to work the way I want either. Any help would be appreciated

A B C D E

1 Table No. H Q Start Date End Date
2 1 2.5 25 2006-05-14 2005-06-14
3 1 3.5 35 2006-05-14 2005-06-14
4 2 3.0 30 2006-10-14 2005-12-14
4 2 4.0 40 2006-10-14 2005-12-14

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Sorting a list

Hi Jamie

I would used Advanced Filter on your "first page" to pull across data
from the Main sheet.
Take a look at Debra Dalgleish's site for more help on this
http://www.contextures.com/xladvfilter01.html#ExtractWs

and there are several downloadable examples to help you at
http://www.contextures.com/excelfiles.html#Filter

--
Regards

Roger Govier


"Jamie" wrote in message
...
The sheet is part of an automated workbook in which queries bring in
the data
and then it is automatically sorted and run through various
calculations, the
list size will change as changes are made in the database, for the
most part
this will be a hands off spreadsheet controlled through a scheduler,
the only
thing the person using the spreadsheet would change is on the first
page I
have set up cells that are tied into lookups so they can change how
lists are
sorted or searched. I hope this helps

"Teethless mama" wrote:

When you said "I can't use the filter to do it". Do you mean, you are
not
allowed to use it or you don't want to use it or it doesn't works
when you
use it

To me, the easiest way is to use AutoFilter.

"Jamie" wrote:

Hello

I have list that i need to sort and a I can't use the filter to do
it, I
want to use formulas to do it. What i want to do is use a formula
to take all
the rows that have Table No "1" and display them starting in say
column G. I
have been trying offsets, and lookups but I struggling with this. I
can't get
the filter to work the way I want either. Any help would be
appreciated

A B C D E

1 Table No. H Q Start Date End Date
2 1 2.5 25 2006-05-14 2005-06-14
3 1 3.5 35 2006-05-14 2005-06-14
4 2 3.0 30 2006-10-14 2005-12-14
4 2 4.0 40 2006-10-14 2005-12-14



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Sorting a list

In G2=1

H2
=IF(ISERR(SMALL(IF($A$2:$A$5=$G$2,ROW(INDIRECT("1: "&ROWS($A$2:$A$5)))),ROWS($1:1))),"",INDEX($B$2:$B $5,SMALL(IF($A$2:$A$5=$G$2,ROW(INDIRECT("1:"&ROWS( $A$2:$A$5)))),ROWS($1:1))))

ctrl+shift+enter, not just enter
adjust to suit
Copy across then change the Index range, and copy down as far as needed



"Jamie" wrote:

Hello

I have list that i need to sort and a I can't use the filter to do it, I
want to use formulas to do it. What i want to do is use a formula to take all
the rows that have Table No "1" and display them starting in say column G. I
have been trying offsets, and lookups but I struggling with this. I can't get
the filter to work the way I want either. Any help would be appreciated

A B C D E

1 Table No. H Q Start Date End Date
2 1 2.5 25 2006-05-14 2005-06-14
3 1 3.5 35 2006-05-14 2005-06-14
4 2 3.0 30 2006-10-14 2005-12-14
4 2 4.0 40 2006-10-14 2005-12-14

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
sorting a dropdown list automatically mohammed Excel Worksheet Functions 3 December 26th 06 01:58 AM
Drop-Down List Choice Affects Multiple Cells? Patrick R Excel Worksheet Functions 5 November 24th 06 12:33 AM
Sorting a List capnsean Excel Discussion (Misc queries) 1 June 2nd 06 04:24 PM
Subtotals in a list Bagheera Excel Discussion (Misc queries) 9 May 20th 06 01:46 PM
sorting rows into a list auspcs Excel Discussion (Misc queries) 4 May 19th 06 08:41 PM


All times are GMT +1. The time now is 12:56 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"