#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Criteria Based List

Hi-

I am trying to create a list of unique records based on the following data.
I want the list to give me Name if Date = 5/31/2007
A B C
Month Name Location
4/30/2007 John Doe Region 1
5/31/2007 John Doe Region 1
4/30/2007 Jane Smith Region 2
5/31/2007 Jane Smith Region 2
4/30/2007 Mike Moore Region 1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Criteria Based List

=IF(ISERROR(SMALL(IF($A$1:$A$20=DATEVALUE("31/05/2007"),ROW($A$1:$A$20),""),ROW($A1))),"",INDEX(B$1 :B$20,N(SMALL(IF($A$1:$A$20=DATEVALUE("31/05/2007"),ROW($A$1:$A$20),""),ROW($A1)))))

Enter with Ctrl+Shift+Enter

this will list names

Change B$1:B$20 to A$1:A$20 if you want date


HTH

"jackie" wrote:

Hi-

I am trying to create a list of unique records based on the following data.
I want the list to give me Name if Date = 5/31/2007
A B C
Month Name Location
4/30/2007 John Doe Region 1
5/31/2007 John Doe Region 1
4/30/2007 Jane Smith Region 2
5/31/2007 Jane Smith Region 2
4/30/2007 Mike Moore Region 1

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Criteria Based List

Maybe you could select the range and apply data|filter|autofilter.

Then you could filter to show just the 5/31/2007 dates.

jackie wrote:

Hi-

I am trying to create a list of unique records based on the following data.
I want the list to give me Name if Date = 5/31/2007
A B C
Month Name Location
4/30/2007 John Doe Region 1
5/31/2007 John Doe Region 1
4/30/2007 Jane Smith Region 2
5/31/2007 Jane Smith Region 2
4/30/2007 Mike Moore Region 1


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Criteria Based List

Hi,

Set up a criteria range which includes the title of the Date field on the
first row and the second row will have 5/31/2007. You then do this command
Data, Filter, Advanced Filter, Unique records (checkbox) command. In the
dialog box you specify the Data source including the title, the criteria
range, as discussed above, and any cell in a blank area for the output. You
also specify Copy to a new location.

If you need more detail let me know.
--
Cheers,
Shane Devenshire


"jackie" wrote:

Hi-

I am trying to create a list of unique records based on the following data.
I want the list to give me Name if Date = 5/31/2007
A B C
Month Name Location
4/30/2007 John Doe Region 1
5/31/2007 John Doe Region 1
4/30/2007 Jane Smith Region 2
5/31/2007 Jane Smith Region 2
4/30/2007 Mike Moore Region 1

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
importing and updating list based on criteria BlackDN Excel Discussion (Misc queries) 0 March 7th 07 10:34 PM
Return value from list based on criteria [email protected] Excel Worksheet Functions 2 October 3rd 06 10:44 AM
add to a cell on a list based on two criteria gabrielinlompoc New Users to Excel 0 February 9th 06 11:07 PM
Create a list based on single shared criteria David127 Excel Worksheet Functions 5 December 15th 05 03:36 AM
data validation list should have opt. to select based on criteria be Excel Worksheet Functions 1 September 15th 05 01:05 PM


All times are GMT +1. The time now is 10:01 PM.

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"