Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Generating a new list based on cell criteria

column A has one of five different values with additional data in the cells
to the right. This is repeated over several tabs. I want, based on the value
in A, build a list showing all of the data for the row. For instance, if A1
is "Red", and this is repeated on A4, A7 and A9, then I want to create on
another tab, a list consisting of A4, A7, and A9 including the data in B4,
C4, D4 and so on. Any suggestions?
--
JerryS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Generating a new list based on cell criteria

Source data assumed in Sheet1, cols A to E, from row1 down
with the key col = col A

In Sheet2.
Assume A1 will house one of the 5 values, eg: Red
(you could use a simple DV to select the 5 values)

In B1:
=IF(Sheet1!A1="","",IF(Sheet1!A1=$A$1,ROW(),""))

In C1:
=IF(ROW()COUNT($B:$B),"",INDEX(Sheet1!A:A,SMALL($ B:$B,ROW())))
Copy C1 to G1. Select B1:G1, copy down to cover the max expected extent of
data in Sheet1. Minimize/hide away col B. Cols C to G will return the
required lines from Sheet1, all neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"JerryS" wrote:
column A has one of five different values with additional data in the cells
to the right. This is repeated over several tabs. I want, based on the value
in A, build a list showing all of the data for the row. For instance, if A1
is "Red", and this is repeated on A4, A7 and A9, then I want to create on
another tab, a list consisting of A4, A7, and A9 including the data in B4,
C4, D4 and so on. Any suggestions?
--
JerryS

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
Extract list of units based on error criteria to new list Sheila Excel Worksheet Functions 14 August 9th 07 03:57 AM
Extract list of units based on error criteria to new list Sheila Excel Worksheet Functions 0 August 9th 07 01:50 AM
Criteria Based List jackie Excel Discussion (Misc queries) 3 June 11th 07 09:02 PM
Auto-generating a list of records that meet a pattern criteria Jeff Gerke Excel Discussion (Misc queries) 0 March 23rd 06 11:18 PM
add to a cell on a list based on two criteria gabrielinlompoc New Users to Excel 0 February 9th 06 10:07 PM


All times are GMT +1. The time now is 11:10 AM.

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"