Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Form a sublist from a list using lookup

I have a table listed as follows:
(A) (B) (C)
1) Name Region Age
2) John America 23
3) Lee Asia 42
4) Johann Europe 18
5) Tom America 43
6) Sara America 19
7) Ricardo Europe 37

I am trying to form 3 new additional tables for each of the three regions
from this table that lists only Names of people over 30 yrs old (preferrably
in a descending order).
I thought of using something like =IF(AND(C230,B2="America"),A2,""), but
instead of "", I would want the formula to look into the next rows until it
finds one that fits the region, or if it finds none - then it should leave a
blank cell. Otherwise, each of the tables would have many blank rows within,
between the rows that are of interest.

Any ideas of how this could be accomplished? Thank you very much in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Form a sublist from a list using lookup

Consider using a helper column & AutoFilter:

Put a label in D1

In cell D2 enter:
=IF(AND(C230,B2="America"),1,0) and copy down

Turn on the autofilter on column D ( displaying only 1's) and copy the
visible data.


--
Gary''s Student - gsnu200795


"Makaron" wrote:

I have a table listed as follows:
(A) (B) (C)
1) Name Region Age
2) John America 23
3) Lee Asia 42
4) Johann Europe 18
5) Tom America 43
6) Sara America 19
7) Ricardo Europe 37

I am trying to form 3 new additional tables for each of the three regions
from this table that lists only Names of people over 30 yrs old (preferrably
in a descending order).
I thought of using something like =IF(AND(C230,B2="America"),A2,""), but
instead of "", I would want the formula to look into the next rows until it
finds one that fits the region, or if it finds none - then it should leave a
blank cell. Otherwise, each of the tables would have many blank rows within,
between the rows that are of interest.

Any ideas of how this could be accomplished? Thank you very much in advance!

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
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
filling a form in Excel... lookup? maybe? bigwerdz Excel Discussion (Misc queries) 2 September 29th 06 04:18 PM
Drop Down Sublist GoBucks Excel Discussion (Misc queries) 2 May 9th 06 03:04 PM
Looking to create a simple user form with lookup Tim Excel Discussion (Misc queries) 5 November 14th 05 04:57 PM
Changing lookup form numbers to alphabetics troubled48075 Excel Worksheet Functions 2 January 28th 05 02:00 AM


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