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 May 8th, 2002, 08:31 AM   #1
vdavissva
New Member
 
Join Date: May 2002
Posts: 2
Default

My boss gave me a spreadsheet (example below). The data carries on in rows with about 20 doctors (each separated with their own individual Charges/Adjustments/Net Receipts rows) and columns until the end of the year 2001, then there is another similar worksheet for 2002, and I would possibly create more for future years. He asked me to create a formula or print macro or ??? so that the client could use shortcut keys to enter a month and a doctor's name and get the data for just that doctor to print out on an individual page. That's what they want to have happen. I thought of creating a Visual Basic program that could do this, but that might be too complicated and time-consuming. I haven't used Advanced Excel too much, but I'm considered "the expert".

It sounds simple and I think it's in the deep recesses of my brain somewhere how to do this, but everything I've tried isn't satisfactory, assuming that the client knows nothing about Excel and I won't be there to teach them.


Dr.Wilson 1/01 2/01
Charges 30,918 22,008
Adjustments 21,453 8,954
Net Receipts 26,287 17,563
vdavissva is offline   Reply With Quote
Old May 8th, 2002, 08:42 AM   #2
Von Pookie
MrExcel MVP, Administrator
 
Von Pookie's Avatar
 
Join Date: Feb 2002
Location: The act or process of locating.
Posts: 13,679
Default

Would Autofilter be an option?

Just have them choose what they want from the list and then just print it to show what they filtered out of the list.
Von Pookie is offline   Reply With Quote
Old May 8th, 2002, 08:49 AM   #3
vdavissva
New Member
 
Join Date: May 2002
Posts: 2
Default

Autofilter would be too easy. They want to be able to compare current month to this month last year or end of 2001 to end of 2002 (at the end of the year) and have this print out on a page as an individual report. But I've never done reports like this in Excel. It sounds like something I've done in database software, but I don't have experience in Excel reports yet.
vdavissva is offline   Reply With Quote
Old May 9th, 2002, 02:39 PM   #4
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

Quote:
On 2002-05-08 07:31, vdavissva wrote:
My boss gave me a spreadsheet (example below). The data carries on in rows with about 20 doctors (each separated with their own individual Charges/Adjustments/Net Receipts rows) and columns until the end of the year 2001, then there is another similar worksheet for 2002, and I would possibly create more for future years. He asked me to create a formula or print macro or ??? so that the client could use shortcut keys to enter a month and a doctor's name and get the data for just that doctor to print out on an individual page. That's what they want to have happen. I thought of creating a Visual Basic program that could do this, but that might be too complicated and time-consuming. I haven't used Advanced Excel too much, but I'm considered "the expert".

It sounds simple and I think it's in the deep recesses of my brain somewhere how to do this, but everything I've tried isn't satisfactory, assuming that the client knows nothing about Excel and I won't be there to teach them.


Dr.Wilson 1/01 2/01
Charges 30,918 22,008
Adjustments 21,453 8,954
Net Receipts 26,287 17,563
Okay, so someone puts in a Doctor's name and a month and you want it to return all his info from all the financial years....

Could this be a job for :

a) data validation (consisting of a list of the doctors names and a list of relevant months)

b) vlookup (where the vlookup value is a concatenation of the name and month)

seeing as the info is in different rows and columns for a particular doctor in a particular month, you can incorperate OFFSET to bring back the relevant relative rows and columns once a match to the doctor's name and month has been found

does this sound viable ? if it does but you don't know how, just repost and I'll post an detailed example

if you're okay with the terminology, good luck


__________________
:: Pharma Z - Family drugstore ::
Chris Davison is offline   Reply With Quote
Old May 9th, 2002, 03:09 PM   #5
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

Chris as a mate pleasse tell me e97 with ME ??? any good.. i have never got on with 98 >>>

__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old May 9th, 2002, 03:16 PM   #6
artslave
New Member
 
Join Date: Apr 2002
Location: California
Posts: 26
Default

Have you explored Pivot Tables? (Data/Pivot Table) Check out Excel Help to get an overview or get started, and we can help with specific questions.

Pivot Tables can be finicky about the layout of the source data, so it's possible they may not be usable for you, but they are also very flexible in output, so if you get a result that's ALMOST what you need, it can probably be tweaked.

You could use "Doctor" as a page field, there's then a "Show Pages" command that would provide a separate worksheet tab for each doctor.

Have a look, in any case....it's a useful tool for any Excel user.


Catherine
artslave is offline   Reply With Quote
Old May 9th, 2002, 03:17 PM   #7
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

You may want to use the "Mail Merge" wizard in Word. This allows you to create a form letter or form then point to excel as your database. ... Check out the help file in word and search for info on Mail Merge.
__________________

<MARQUEE>...........Never be afraid to try something new. Remember, amateurs built the ark, professionals built the Titanic...............The easiest thing to find is fault, don't be easy !.. --Anonymous--...</marquee>
Nimrod is offline   Reply With Quote
Old May 9th, 2002, 03:17 PM   #8
lenze
MrExcel MVP
 
lenze's Avatar
 
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
Default

The real problem is the layout of the spread sheet. If possible, I would redo it to be more like a database table with columns for fields.
Doctor,Date,Charges,Adjust,Net Recpts,etc

Now each row in the table will represent one doctors information for one specfic date. You will have lots of rows(records)but inputing will be easier(you can use a form) and manipulating the data will be a snap. You will have a choice of autofilter, Dfunctions,Pivot Tables,Array Formulas, etc.

[ This Message was edited by: lenze on 2002-05-09 14:18 ]
lenze is offline   Reply With Quote
Old May 9th, 2002, 03:23 PM   #9
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,065
Default

be very careful with Array formuls, or only use a few,., they slow and can trash a sheet in seconds, they are cool good and very good if used light lightly

level,, if you know they are there you have to many be careful..

as suggested use database function hard to use at first but VERY powerful.. top end i say...


__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK 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 12:05 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