LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Lookup info - Really need help please

With this mod they can type in all to unfilter. Put a comment in the cell

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$I$1" Then Exit Sub
If UCase(Target) = "ALL" Then
Range("G1:H1").AutoFilter Field:=2
Else
Range("G1:H1").AutoFilter Field:=2, Criteria1:=Target
End If
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
They won't have to know how to use the filter if you set up a
worksheet_change event macro to do it for you. Right click sheet tabview
codeinsert thismodify to suit.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$I$1" Then Exit Sub
Range("G1:H1").AutoFilter Field:=2, Criteria1:=Target
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Cyndi513" wrote in message
...
Good morning. A couple of years ago I saw a formula that would allow you
to
look up info in a column (the NAME column below) and return all the data
in
any row that found a match. So, you could have a separate worksheet that
would return all rows that had the name "Smith" or whatever in the Name
Column. Can somehow help me figure out that formula? Thanks. Cyndi

Jnl Date Trans# Description Account Amount Name
7/1/08 09-000001 Grad Lunch 623812 75.00 Smith
7/2/08 09-000002 Conf Reg Fees 623868 112.00 Smith
7/3/08 09-000003 Telephone 611111 66.00 Jones
7/1/08 09-000004 Staff Lunch 623812 88.00 Jones
8/1/08 09-000005 Cell phone 611150 99.99 Jackson
7/14/08 09-000006 Telephone 611111 108.10 Jackson



 
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
Lookup info in one Column and then returning info in other columns Cyndi513 Excel Worksheet Functions 1 June 23rd 08 02:36 PM
Lookup & Give Specified Info. in Specified column Jason Excel Worksheet Functions 1 June 8th 08 02:47 PM
Lookup does not work -copy info from the above cell Mary Excel Discussion (Misc queries) 2 April 13th 07 10:34 PM
how to skip to next cell to lookup info until found Tim Excel Worksheet Functions 0 April 2nd 07 05:12 PM
lookup info in another worksheet steph Excel Worksheet Functions 0 August 23rd 06 10:10 PM


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