MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 26th, 2002, 12:39 PM   #1
purelogic
New Member
 
Join Date: Apr 2002
Posts: 5
Default

i Have a range, A2:D250 on a sheet named "value". In this range, column A lists client names, and column D lists items (ie: Apples). On a sheet named "data" (in the same workbook),I need to lookup all clients who bought apples. But i don't neeed a count, i need the actual client names copied over and into "data". So if 6 people bought apples, I need to those names to copy over. please help!
purelogic is offline   Reply With Quote
Old Apr 26th, 2002, 12:46 PM   #2
croweld89
New Member
 
Join Date: Mar 2002
Posts: 34
Default

Could you not just use an autofilter in the other workbook, and then if needed copy and paste the results to another page?

For Example, products purchased on the second sheet is in column A with client's info in suceeding columns on the same row. Run Autofilter for column A and select apples in the drop down box.

I'm not sure if you're looking for a specific formula, but I hope it might help.

-Dave
croweld89 is offline   Reply With Quote
Old Apr 26th, 2002, 12:49 PM   #3
purelogic
New Member
 
Join Date: Apr 2002
Posts: 5
Default

not, that i can see... the Data page actually contains a lot more, and does a mail merge based off of other data. So the return of Clients buying Apples is supposed to be a self-updating paragraph on a form letter...
purelogic is offline   Reply With Quote
Old Apr 26th, 2002, 01:18 PM   #4
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

See my 2002-04-25 15:38 posting at http://www.mrexcel.com/board/viewtop...c=6280&forum=2. You could employ this same approach.
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 02:07 PM   #5
purelogic
New Member
 
Join Date: Apr 2002
Posts: 5
Default

thanks for your reply Mark, but the problem is how could the approach you suggest be automated to work with the mail merge? It's not that the Data... solution was not a viable solution to the one off, but that i couldn't see a way to make it work with an excel to excel mail merge. ....
purelogic is offline   Reply With Quote
Old Apr 26th, 2002, 02:10 PM   #6
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-26 13:07, purelogic wrote:
thanks for your reply Mark, but the problem is how could the approach you suggest be automated to work with the mail merge? It's not that the Data... solution was not a viable solution to the one off, but that i couldn't see a way to make it work with an excel to excel mail merge. ....
I don't see the problem... the Get External Data approach would produce your list of 6 names (as requested). What more did you need?
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 02:36 PM   #7
purelogic
New Member
 
Join Date: Apr 2002
Posts: 5
Default

Sorry, was not clear there... The Clients and Apples is just one example. The mail merge will be going through (with no user intervention) and spin off 278 letters, all customized with data from the spreadsheet. Clients who purchased Apples, IBMs, Toshibas, HPs, Compaqs, Sonys, etc-- all these will have to do the same thing requested for Clients-Apples. The solution you suggested was good to get the list for Clients-Apples, but I cannot get it to fit in with the automated mail merge aspect, eg: too much user intervention. Hope that clarifies?
purelogic is offline   Reply With Quote
Old Apr 26th, 2002, 02:39 PM   #8
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-26 13:36, purelogic wrote:
Sorry, was not clear there... The Clients and Apples is just one example. The mail merge will be going through (with no user intervention) and spin off 278 letters, all customized with data from the spreadsheet. Clients who purchased Apples, IBMs, Toshibas, HPs, Compaqs, Sonys, etc-- all these will have to do the same thing requested for Clients-Apples. The solution you suggested was good to get the list for Clients-Apples, but I cannot get it to fit in with the automated mail merge aspect, eg: too much user intervention. Hope that clarifies?
Ahh, you must have switched horses in the middle of the stream. I can't find any reference to mail merge in your original inquiry. Perhaps you need to consult the Excel Help Index topic for "Use Microsoft Excel data as a mailing list in Word".

[ This Message was edited by: Mark W. on 2002-04-26 13:40 ]
Mark W. is offline   Reply With Quote
Old Apr 26th, 2002, 03:15 PM   #9
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
Default

For a formula-based retrieval of multiple lookup values, see my contrib at:

http://www.mrexcel.com/board/viewtop...c=3146&forum=2
Aladin Akyurek is offline   Reply With Quote
Old Apr 26th, 2002, 03:28 PM   #10
purelogic
New Member
 
Join Date: Apr 2002
Posts: 5
Default

Hi Mark. No, in the first reply (made before you posted), i had specified mail merge. It's an excel-to-excel merge letter, not via word -- there are too many calculations to use word. (actually, not true, it's just that why bother to use word when all the work is already done in excel?)
Thank you for your suggestions though-- they have given me food for thought on another project under construction.
purelogic is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes