Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Finding Multiple entries for a name

Hi All,

I have a little problem that am sure can be fixed by the many talented
people in this newsgroup:

I have a list in Excel with 15 columns (fields) and many rows of data
- this is in a sheet titled "Deals." I've created another sheet which
is supposed to look up names from column A in "Deals" and combined
with anothr criteria ("Type" - which corresponds to column B in
"Deals" and has 4 different types: C, A, X, or T) Based on the combo
chosen, I want an output of all deals matching the criteria - there
will never be more than 8 deals with that combo. An example would work
best:

Let's say I need to look up "Tom" and "C" from the "Deals" worksheet -
once I select the two criteria (drop down arrows are already in place
in cells A2 and A3, respectively), I want all data from all rows with
"Tom" and "C" in them to appear in rows 5 thru 12 (if applicable) and
show all 20 columns. If this is something I can achieve via VBA,
please help!

Thanks in advance...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default Finding Multiple entries for a name

On May 9, 4:02 pm, " wrote:
Hi All,

I have a little problem that am sure can be fixed by the many talented
people in this newsgroup:

I have a list in Excel with 15 columns (fields) and many rows of data
- this is in a sheet titled "Deals." I've created another sheet which
is supposed to look up names from column A in "Deals" and combined
with anothr criteria ("Type" - which corresponds to column B in
"Deals" and has 4 different types: C, A, X, or T) Based on the combo
chosen, I want an output of all deals matching the criteria - there
will never be more than 8 deals with that combo. An example would work
best:

Let's say I need to look up "Tom" and "C" from the "Deals" worksheet -
once I select the two criteria (drop down arrows are already in place
in cells A2 and A3, respectively), I want all data from all rows with
"Tom" and "C" in them to appear in rows 5 thru 12 (if applicable) and
show all 20 columns. If this is something I can achieve via VBA,
please help!

Thanks in advance...


Sounds to me like VLookups and/or Index/Match formulas would be best
suited for this. Maybe SumProduct since you are dealing with multiple
criteria. Have a look in the help files for these functions and see
if they will suffice.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Finding Multiple entries for a name

On May 9, 6:46 pm, JW wrote:
On May 9, 4:02 pm, " wrote:





Hi All,


I have a little problem that am sure can be fixed by the many talented
people in this newsgroup:


I have a list in Excel with 15 columns (fields) and many rows of data
- this is in a sheet titled "Deals." I've created another sheet which
is supposed to look up names from column A in "Deals" and combined
with anothr criteria ("Type" - which corresponds to column B in
"Deals" and has 4 different types: C, A, X, or T) Based on the combo
chosen, I want an output of all deals matching the criteria - there
will never be more than 8 deals with that combo. An example would work
best:


Let's say I need to look up "Tom" and "C" from the "Deals" worksheet -
once I select the two criteria (drop down arrows are already in place
in cells A2 and A3, respectively), I want all data from all rows with
"Tom" and "C" in them to appear in rows 5 thru 12 (if applicable) and
show all 20 columns. If this is something I can achieve via VBA,
please help!


Thanks in advance...


Sounds to me like VLookups and/or Index/Match formulas would be best
suited for this. Maybe SumProduct since you are dealing with multiple
criteria. Have a look in the help files for these functions and see
if they will suffice.- Hide quoted text -

- Show quoted text -


Can someone please help with this - I wouldn't have posted it if I
couldn't figure it out from the Help files!

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Finding Multiple entries for a name

It sounds to me like you're trying to reinvent data|filter|autofilter.

You could select your range (headers in row 1), then apply
data|Filter|autofilter.

Then use the dropdown in each of the header row to show/hide what you want.

The data won't move up to the other rows, but they will be the ones visible.



" wrote:

Hi All,

I have a little problem that am sure can be fixed by the many talented
people in this newsgroup:

I have a list in Excel with 15 columns (fields) and many rows of data
- this is in a sheet titled "Deals." I've created another sheet which
is supposed to look up names from column A in "Deals" and combined
with anothr criteria ("Type" - which corresponds to column B in
"Deals" and has 4 different types: C, A, X, or T) Based on the combo
chosen, I want an output of all deals matching the criteria - there
will never be more than 8 deals with that combo. An example would work
best:

Let's say I need to look up "Tom" and "C" from the "Deals" worksheet -
once I select the two criteria (drop down arrows are already in place
in cells A2 and A3, respectively), I want all data from all rows with
"Tom" and "C" in them to appear in rows 5 thru 12 (if applicable) and
show all 20 columns. If this is something I can achieve via VBA,
please help!

Thanks in advance...


--

Dave Peterson
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
Finding entries across columns bollard Excel Worksheet Functions 2 May 6th 08 03:04 PM
Finding Multiple Entries & Deleting All but One Brandy Excel Discussion (Misc queries) 7 January 10th 08 02:27 PM
Combine Multiple Entries with differing amounts of entries Katie Excel Worksheet Functions 2 November 28th 07 09:53 PM
Finding Duplicate Entries ConfusedNHouston Excel Discussion (Misc queries) 2 October 11th 06 04:01 AM
Finding new entries in list Greg[_17_] Excel Programming 4 February 3rd 05 10:18 PM


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