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 18th, 2002, 07:41 AM   #1
ba919
New Member
 
Join Date: May 2002
Posts: 3
Default

I am an Internal Auditor for a major retailer. As a job requirement, I have to keep record of any and all projects I've worked on during each month. The company has a single Excel spreadsheet which I complete on a monthly basis. The boss, however, doesn't want me to send each month's spreadsheet of activities seperately though. He wants to see the Year to date list of activities(culmination). I have taken the company spreadsheet, and created an individual worksheet for each Month along with a "Year To Date" worksheet. My problem is I cant figure out how to make Excel copy each row of data from the Monthly worksheets and place on the "Year To Date" page.
Any help with this would greatly be appreciated.


ba919 is offline   Reply With Quote
Old May 18th, 2002, 08:02 AM   #2
topswim
Board Regular
 
Join Date: May 2002
Posts: 86
Default

From what I can gather it sounds like you just need to place an equal sign in the cell on the End of Year sheet, go to the monthly sheet that corresponds to the information you need and click on that cell and hit the enter key. Let me know if you need additional or your trying to do something different than this.

Topswim

[ This Message was edited by: topswim on 2002-05-18 07:09 ]
topswim is offline   Reply With Quote
Old May 18th, 2002, 08:44 AM   #3
ba919
New Member
 
Join Date: May 2002
Posts: 3
Default

I was looking for a technique in which all I had to do would be to enter the data on the Monthly worksheets,and that data would update to the Year to Date sheet. Thus avoiding excessive keystrokes. I found a link where someone had a similar question. http://www.mrexcel.com/board/viewtop...c=8404&forum=2 The only difference is that I want to enter the data on the 12 worksheets and have it copy to the Main worksheet. Do you think the same code will work? Hope this was clear. Thank You for your response.
ba919 is offline   Reply With Quote
Old May 18th, 2002, 04:24 PM   #4
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

See:
http://www.mrexcel.com/board/viewtop...c=8715&forum=2

If you want to keep the months on individual sheets, then you can use fill the below table with the following equation.
C3: = =IF(ISBLANK(INDIRECT($A3&"!"&C$2&$B3)),"-",INDIRECT($A3&"!"&C$2&$B3))

Summary Sheet:
COLA______COLB_____COLC___
1:Month___Row______Data____Data
2Sheet)_(Row)____A_______B
3:Jan_____2________=eqn____=eqn
4:Jan_____3
5:Jan_____4
6:Jan_____5
7:Feb_____6
:Feb_____7
:Feb_____8
:Feb_____9
:Mar_____10
...

This will leave you with blank rows (I use "-" instead of "" to differentiate a cell with a formula from a missung formula), that you can then hide using an autofilter, manually hide, or delete.

To add links to each month sheet, also see
http://www.mrexcel.com/board/viewtop...c=8739&forum=2

Brian is offline   Reply With Quote
Old May 18th, 2002, 07:25 PM   #5
ba919
New Member
 
Join Date: May 2002
Posts: 3
Default

Im sorry, I dont understand what you mean when you say I "can use fill the below table with the following equation."
Where do I enter this equation?



ba919 is offline   Reply With Quote
Old May 20th, 2002, 10:13 AM   #6
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

Enter the equation in C3
hover your mouse over the black square in the lower left corner, when it changes to a blackcross, then click and hold as you drag accross as many columns as you have.

Then do the same thing to fill the equation down as many rows as you need.

(copy and paste the cel also works)

Brian
Brian is offline   Reply With Quote
Old May 21st, 2002, 12:37 AM   #7
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

Also See http://www.mrexcel.com/board/viewtop...937&forum=2&11

Brian is offline   Reply With Quote
Old May 21st, 2002, 01:09 AM   #8
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

How many rows of information do you want from each monthly sheet ?
Is there any gaps in the rows of information from the month sheets ?
Do you just need a set of rows copied from source sheets and appended to the bottom of the summary sheet ... if so this code would make a summary of all source sheets to one target sheet. Note in the code that the Target name is "Sheet16". Just change that to what ever target sheet name you want .
If you want to clear the Target sheet before starting process then delete the single quote from the line 'Sheets("Sheet16").ClearContents

Code:
Sub CopyRanges()
' ALL SHEETS SOURCE AND TARGET IN ONE BOOK
'Sheets("Sheet16").ClearContents
TargSheet = "Sheet16"
For Each SrcWs In Worksheets
    With SrcWs
     TargNewBot = 0
    If Not (.Name = TargSheet) Then
        SrcTopRow = .Range("A:A").End(xlUp).Row
        SrcBotRow = .Cells(65536, 1).End(xlUp).Row
        TargBotRow = Sheets(TargSheet).Cells(65536, 1).End(xlUp).Row + 1
        TargNewBot = TargBotRow + (SrcBotRow - SrcTopRow)
        .Rows(SrcTopRow & ":" & SrcBotRow).Copy
        ActiveSheet.Paste Destination:=Worksheets(TargSheet).Range(TargBotRow & ":" & TargNewBot)
    End If
    End With
Next SrcWs
End Sub
Nimrod 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 03:42 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