Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default Creating a list in Excel for a matching criteria

Hi,

I hope someone can help me with this. Here is an example of my spreadsheet:

A B C D
1 01/07/2012 02/07/2012 03/07/2012
2 NAME
3 John H H
4 Gary H
5 Paul H H


Now what I would want to do is to be able to create a list of names for a given date where there is a H in the date cell, for example if my date was 02/07/2012 then the list will give me John and Gary and if the date was 03/07/2012 then it would only give me Paul.

I hope this makes sense.

Thanks in advance for any help.

Z
  #2   Report Post  
Junior Member
 
Posts: 4
Default

Sorry the table didnt appear as I thought it would. So here it is again (ignore the dots)

.......A..................B....................... ..C..........................D
1.................01/07/2012............02/07/2012.............03/07/2012
2 NAME
3 John................H.........................H
4 Gary...........................................H
5 Paul................H............................. .........................H

Hope it works this time
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Creating a list in Excel for a matching criteria

One way, either manually or via VBA, is to set AutoFilter for all the date columns. Pick a date and filter to hide blanks. Then copy the visible names in the first column and paste elsewhere.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating a list in Excel for a matching criteria

Here is solution:

=IF(INDIRECT("R" & ROW() & "C" & MATCH($F$1,$A$1:$E$1,0),0)="H",A3,"")


Paste this formula in Cells F3 with following conditions:

- F1 should contain date from your data
- F2 empty row
- Column E is blank
- Columns A:D should contain ur data


Hereunder is sample

A B C D E F
01-07-2012 02-07-2012 03-07-2012 03-07-2012

John H H
Gary H
Paul H H Paul

For any detail ping me or visit
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating a list in Excel for a matching criteria

Here is solution:

=IF(INDIRECT("R" & ROW() & "C" & MATCH($F$1,$A$1:$E$1,0),0)="H",A3,"")


Paste this formula in Cells F3 with following conditions:

- F1 should contain date from your data
- F2 empty row
- Column E is blank
- Columns A:D should contain ur data


Hereunder is sample

A B C D E F
01-07-2012 02-07-2012 03-07-2012 03-07-2012

John H H
Gary H
Paul H H Paul

For any detail ping me or visit www.Excelolozy.com


  #6   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by James Ravenswood View Post
One way, either manually or via VBA, is to set AutoFilter for all the date columns. Pick a date and filter to hide blanks. Then copy the visible names in the first column and paste elsewhere.
Thanks, this might be a bit long winded for people.
  #7   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by View Post
Here is solution:

=IF(INDIRECT("R" & ROW() & "C" & MATCH($F$1,$A$1:$E$1,0),0)="H",A3,"")


Paste this formula in Cells F3 with following conditions:

- F1 should contain date from your data
- F2 empty row
- Column E is blank
- Columns A:D should contain ur data


Hereunder is sample

A B C D E F
01-07-2012 02-07-2012 03-07-2012 03-07-2012

John H H
Gary H
Paul H H Paul

For any detail ping me or visit www.Excelolozy.com
Thanks for this. This should work for now, Cheers
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
Creating list from values that meet multiple criteria from other sheet Gmo305 Excel Worksheet Functions 1 May 15th 12 04:52 PM
creating a list based criteria jjordan Excel Programming 0 May 21st 07 12:52 AM
Display top 5 items from a list with matching criteria? [email protected] Excel Discussion (Misc queries) 8 February 25th 07 09:36 PM
Create list of text matching criteria MichaelG Excel Worksheet Functions 5 March 13th 06 06:00 PM
Extract multiple records matching criteria from list William DeLeo Excel Worksheet Functions 12 June 30th 05 02:35 PM


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