PC Review


Reply
Thread Tools Rate Thread

combining several sheets together

 
 
Fawn
Guest
Posts: n/a
 
      16th Aug 2008
I have a tracking sheet for each sales person that I want to combine
together each week. Instead of copy and pasting over to one master because
this is very time consuming is there a formula or a macro that I can use
that will combine the data to one master sheet.

The sheet has 20 columns and depending on how many sales they do will be the
rows.

First 10 rows are just recap headings so I only want the data which starts
on row 11 amd column 4 to be copied over to a master.

Any help is a appreciated.

Thanks

 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      16th Aug 2008
Try this macro

Sub MakeSummary()

Set NewSht = Sheets.Add(after:=Sheets(Sheets.Count))
TodayDate = Date
'Get Monday of this week
DayOffset = Weekday(TodayDate, vbMonday)
MondayDate = TodayDate - DayOffset + 1
NewSht.Name = "Summary Week of " & Format(MondayDate, "MM_DD_YY")

For Each sht In Sheets
If Left(sht.Name, 7) <> "Summary" Then
NewLastRow = NewSht.Range("A" & Rows.Count).End(xlUp).Row
If NewLastRow <> 1 Then
NewLastRow = NewLastRow + 1
End If

LastRow = sht.Range("A" & Rows.Count).End(xlUp).Row
sht.Rows("11:" & LastRow).Copy _
Destination:=NewSht.Rows(NewLastRow)
End If
Next sht

End Sub


"Fawn" wrote:

> I have a tracking sheet for each sales person that I want to combine
> together each week. Instead of copy and pasting over to one master because
> this is very time consuming is there a formula or a macro that I can use
> that will combine the data to one master sheet.
>
> The sheet has 20 columns and depending on how many sales they do will be the
> rows.
>
> First 10 rows are just recap headings so I only want the data which starts
> on row 11 amd column 4 to be copied over to a master.
>
> Any help is a appreciated.
>
> Thanks
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      16th Aug 2008
Your life may be easier if you used just one sheet for all sales people then
employed filtering to create a person by person report for printing or
sending.

But.........to keep the setup you currently have and copy over data from
sheets, see Ron de Bruin's site for some routines.

http://www.rondebruin.nl/tips.htm

Have a look through his Copy/Paste/Merge examples.

A couple of possibles are................

http://www.rondebruin.nl/copy2.htm

http://www.rondebruin.nl/summary.htm


Gord Dibben MS Excel MVP

On Sat, 16 Aug 2008 09:53:03 -0600, "Fawn" <(E-Mail Removed)> wrote:

>I have a tracking sheet for each sales person that I want to combine
>together each week. Instead of copy and pasting over to one master because
>this is very time consuming is there a formula or a macro that I can use
>that will combine the data to one master sheet.
>
>The sheet has 20 columns and depending on how many sales they do will be the
>rows.
>
>First 10 rows are just recap headings so I only want the data which starts
>on row 11 amd column 4 to be copied over to a master.
>
>Any help is a appreciated.
>
>Thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining data from various Sheets Raja Microsoft Excel Worksheet Functions 2 15th Feb 2008 05:16 PM
Combining two sheets into one a94andwi Microsoft Excel Programming 4 1st Jul 2006 01:39 PM
Combining sheets on one em8195 Microsoft Excel Worksheet Functions 5 3rd Nov 2005 11:40 PM
Combining Sheets esquire808 Microsoft Excel Discussion 12 6th Oct 2005 11:35 PM
Combining data from different sheets in one viktor Microsoft Excel New Users 3 7th Jul 2005 10:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 PM.