Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Listing Multiple Finds

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob L - 27 May 2008 13:04 GMT
I have a table of data (12 columns wide) that consists of lists of employees
who have been inducted. I need a way to find all the (say) "Smiths", and
list them (and the data in the other 11 columns).
The formula below seems to be a good start, if I copy it down in the range
that I want the result to appear. The problem is that the list is growing,
and I would like to use a dynamic range name (instead of $A$3:$A$20), but
INDEX seems to spit the dummy with anything but actual addresses. Any help
much appreciated.

=INDEX($A$3:$B$20,SMALL(IF($A$3:$A$20=$A$1,ROW($A$3:$A$20)),ROW(1:1)),2)

Rob Lepper
edvwvw - 27 May 2008 13:30 GMT
Rob

You could try a small macro as below: this will create an autofilter

Sub Test()

   Columns("A:C").Select
   Selection.AutoFilter
   Selection.AutoFilter Field:=1, Criteria1:=Range("F1")
   
End Sub

I have only looked at columns A to C and put the value that you are looking
for in F1- if you attach a button to the macro it will help

edvwvw

>I have a table of data (12 columns wide) that consists of lists of employees
>who have been inducted. I need a way to find all the (say) "Smiths", and
[quoted text clipped - 8 lines]
>
>Rob Lepper
Rob L - 28 May 2008 08:06 GMT
Thanks, I'll give it a go and report back...

Rob

> Rob
>
[quoted text clipped - 27 lines]
>>
>>Rob Lepper
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.