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 Mar 4th, 2002, 12:23 PM   #1
Guest
 
Posts: n/a
Default

Is it possible to assign multiple rows as a single record in a Excel list? Real world issue: I have a date (promotion period), on that date there are several items on promotion. The date is the first column in the list. I need the list filterable by date and don't want to have to re-enter the date for each row (or each item on promo under a given date). The users of the form that enters data to the list will simply get confused having to type the date over and over for each item on a particular promotion period. I hope I made this question understandable! Thanks
  Reply With Quote
Old Mar 4th, 2002, 12:26 PM   #2
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Why don't you have more columns and fewer rows?
Mark W. is offline   Reply With Quote
Old Mar 4th, 2002, 12:29 PM   #3
keith
Board Regular
 
Join Date: Mar 2002
Posts: 88
Default

Not sure what you mean by more columns.. basically there are blank cells under the date column where the multiple items are listed.. so there may be something in the date colum every 5 rows or so.. see what I mean?
keith is offline   Reply With Quote
Old Mar 4th, 2002, 12:33 PM   #4
keith
Board Regular
 
Join Date: Mar 2002
Posts: 88
Default

(I am one who posted the orignal just forgot to log in)
keith is offline   Reply With Quote
Old Mar 4th, 2002, 12:50 PM   #5
Guest
 
Posts: n/a
Default

ok here goes.. there are 15 total items. During a year these items are on off and on promotion a week at a time. The list needs to be organzied by date(which is actually "week of"). On a given date any combination of the 15 items can be on promotion. The user fills out a form that adds to the list based on a week. Here goes:
Week of - Item # - Price - Cost - Profit %
3/1 - 0101 - 2.99 - 1.50 - x%
- 0102 - 3.99 - 1.50 - x%
- 0108 - 4.99 - 1.50 - x%
3/7 - 0001 - 2.99 - 1.50 - x%
- 0105 - 3.99 - 1.50 - x%
ect... if there is a better way to do this I am all ears.. I just don't want to have to carry the date down every item ie - I would like 3/1 and all the items under it to be a single record. 3/7 starts a new record etc.. thanks..
  Reply With Quote
Old Mar 4th, 2002, 12:50 PM   #6
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Suppose column A contains your promotional date beginning at row 2. Create an new date field ('Date2'?) in column C. Enter the formula, =IF(A2,A2,C1), into C2 and copy down for all data rows. Filter on column C.
Mark W. is offline   Reply With Quote
Old Mar 4th, 2002, 12:55 PM   #7
keith
Board Regular
 
Join Date: Mar 2002
Posts: 88
Default

(sorry forgot my name again.. all anonymous above is me)
keith is offline   Reply With Quote
Old Mar 4th, 2002, 01:05 PM   #8
keith
Board Regular
 
Join Date: Mar 2002
Posts: 88
Default

ok - I think that works good enough- at least it stops the user from having to repeat the date in the form.. thanks!
keith is offline   Reply With Quote
Old Mar 4th, 2002, 01:10 PM   #9
keith
Board Regular
 
Join Date: Mar 2002
Posts: 88
Default

uhoh - now I have to figure out how to include that formula in the records that are added by the form!!! The macro I was planning was going to do an "EndDown" to get to the bottom then add the data from the form any help?
keith is offline   Reply With Quote
Old Mar 4th, 2002, 03:03 PM   #10
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Excel's built-in Data form (see the Data | Form... menu command) already handles the replication of the formula.
Mark W. 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:53 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