LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Filtering using Formulas

Thanks Bob

"Bob Phillips" wrote:

Select A2:A6 on the second sheet and enter this formula in the formula bar

=IF(ISERROR(SMALL(IF(Sheet1!C1:C20<=SMALL(Sheet1!C 1:C20,5),ROW($A1:$A20),"")
,ROW($A1:$A20))),"",
INDEX(Sheet1!A1:A20,SMALL(IF(Sheet1!C1:C20<=SMALL( Sheet1!C1:C20,5),ROW($A1:$
A20),""),ROW($A1:$A20))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

Then in B2 enter

=VLOOKUP(A2,Sheet1!A1:C20,2,FALSE)

in C2 enter

=VLOOKUP(A2,Sheet1!A1:C20,3,FALSE)

Copy B2:C2 down to B6:c6.

Then copy A2:C6 to D2:F6, etc.,

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Debbie D." wrote in message
...
I have information is several columns. Column A contains names, column B
contains addresses and column c contains rent payment. I need to be able

to
see the top 5 highest rents paid along with name and addresses. I can do
this by using a filter and works fine. However each of columns A,B and C

are
repeated 12 times for Jan-Dec therefore D,E and F would now represent Feb
etc. Of course each of the different months contain varying data.

On a separate part of the spreadsheet I would like to be able copy using a
formula to automate for another user the spreadsheet to automatically grab
the top five rents, name and addresses (a grouping of three columns) for

all
of the single months without having to use a filter. Essentially a copy

of
the original figures but just showing the top 5 rents from each month.

Many thanks for taking the time to read this and any and all help welcome.
Hope the above explains in enough and yet not too much details.

Debbie D. (UK)




 
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
How to change column letters to correct ones in many formulas automatically? Dmitry Kopnichev Links and Linking in Excel 7 October 13th 05 09:52 PM
How to change column letters to correct ones in many formulas automatically? Dmitry Kopnichev Excel Worksheet Functions 7 October 13th 05 09:52 PM
how can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
How prevent formulas to get external references/path to current workbook? Gunnar Johansson Excel Worksheet Functions 1 August 15th 05 10:39 AM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM


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