Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Lookup/Array Formulas

Hi,

I'm trying to create a formula for the following senario...

I have a table of people (by row) who are progressing through the first part
of some training (worksheet 1) and I have a second table (worksheet 2) with
further training for those people who pass the first part.

I want the details of the people who pass to automatically populate the
second sheet but without blank rows, i.e. if numbers 1, 2, 4 & 8 pass from
sheet one (the column J cells show "Yes") I need them to appear in rows 1, 2,
3 & 4 on sheet 2.

Any ideas?...

Thank you!

Jayjay
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup/Array Formulas

One way to achieve this ..

Assume source data in Sheet1, cols A to J,
data from row2 down with key col = col J

In Sheet2,

Put in A2:
=IF(Sheet1!J2="Yes",ROW(),"")
Leave A1 blank

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL ($A:$A,ROW(A1))))
Copy B2 to K2. Select A2:K2, fill down to cover the max expected extent of
source data in Sheet1. Hide away col A. Cols B to K will return the required
results from Sheet1, with all lines neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jayjay" wrote:
Hi,

I'm trying to create a formula for the following scenario...

I have a table of people (by row) who are progressing through the first part
of some training (worksheet 1) and I have a second table (worksheet 2) with
further training for those people who pass the first part.

I want the details of the people who pass to automatically populate the
second sheet but without blank rows, i.e. if numbers 1, 2, 4 & 8 pass from
sheet one (the column J cells show "Yes") I need them to appear in rows 1, 2,
3 & 4 on sheet 2.

Any ideas?...

Thank you!

Jayjay

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Lookup/Array Formulas

Hi Max,

First of all, thank you - your suggestion has solved a huge part of my
problem.

However, a further problem has now raised it's head...

If, for example, learner number 5 passes their test, they're details are
moved over to the second sheet and further information is recorded in the
columns alongside them.

But, if learner 4 then passes, their details are 'inserted' into the second
sheet above 5, so 5's 'further details' become 4's...

Any thoughts?

Thank you again,

Jayjay


"Max" wrote:

One way to achieve this ..

Assume source data in Sheet1, cols A to J,
data from row2 down with key col = col J

In Sheet2,

Put in A2:
=IF(Sheet1!J2="Yes",ROW(),"")
Leave A1 blank

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL ($A:$A,ROW(A1))))
Copy B2 to K2. Select A2:K2, fill down to cover the max expected extent of
source data in Sheet1. Hide away col A. Cols B to K will return the required
results from Sheet1, with all lines neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jayjay" wrote:
Hi,

I'm trying to create a formula for the following scenario...

I have a table of people (by row) who are progressing through the first part
of some training (worksheet 1) and I have a second table (worksheet 2) with
further training for those people who pass the first part.

I want the details of the people who pass to automatically populate the
second sheet but without blank rows, i.e. if numbers 1, 2, 4 & 8 pass from
sheet one (the column J cells show "Yes") I need them to appear in rows 1, 2,
3 & 4 on sheet 2.

Any ideas?...

Thank you!

Jayjay

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup/Array Formulas

If you stick to using Sheet1 as the master* to record everything, eg enter
further info in cols K and L (say), then Sheet2 will work to produce a
dynamic filtered list for those who passed. Just extend the formula another
2 cols to bring in cols K and L (Copy B2 to M2. Select A2:M2, fill down).
*you can use autofilter to help search out the record line(s) for input
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jayjay" wrote in message
...
Hi Max,

First of all, thank you - your suggestion has solved a huge part of my
problem.

However, a further problem has now raised it's head...

If, for example, learner number 5 passes their test, they're details are
moved over to the second sheet and further information is recorded in the
columns alongside them.

But, if learner 4 then passes, their details are 'inserted' into the
second
sheet above 5, so 5's 'further details' become 4's...

Any thoughts?

Thank you again,

Jayjay



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Lookup/Array Formulas

Thanks again, Max, but unfortunately we need to track the training as 2
seperate sheets. i.e. both will be 'masters' for the training they are
tracking.

Any further ideas?...

Jay

"Max" wrote:

If you stick to using Sheet1 as the master* to record everything, eg enter
further info in cols K and L (say), then Sheet2 will work to produce a
dynamic filtered list for those who passed. Just extend the formula another
2 cols to bring in cols K and L (Copy B2 to M2. Select A2:M2, fill down).
*you can use autofilter to help search out the record line(s) for input
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jayjay" wrote in message
...
Hi Max,

First of all, thank you - your suggestion has solved a huge part of my
problem.

However, a further problem has now raised it's head...

If, for example, learner number 5 passes their test, they're details are
moved over to the second sheet and further information is recorded in the
columns alongside them.

But, if learner 4 then passes, their details are 'inserted' into the
second
sheet above 5, so 5's 'further details' become 4's...

Any thoughts?

Thank you again,

Jayjay






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup/Array Formulas

No, afraid not. Think you'd need vba. Hang around awhile for insights from
others.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jayjay" wrote in message
...
Thanks again, Max, but unfortunately we need to track the training as 2
seperate sheets. i.e. both will be 'masters' for the training they are
tracking.

Any further ideas?...

Jay



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
Array lookup j0rg3a1b3rt0 Excel Worksheet Functions 2 October 3rd 06 06:06 PM
Lookup, Max, Array Squeaky Excel Discussion (Misc queries) 7 April 14th 06 12:22 PM
Lookup "greater than or equal to" in lookup array icemouse New Users to Excel 3 February 16th 06 10:07 PM
IF ARRAY LOOKUP ??? Help Please Ellen G. Excel Worksheet Functions 6 February 13th 06 11:46 AM
How do I use <= in a lookup array? Gdog34 Excel Discussion (Misc queries) 0 June 29th 05 09:42 AM


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