PC Review


Reply
Thread Tools Rate Thread

How to automate a cumulative total for multiple entries?

 
 
John
Guest
Posts: n/a
 
      15th Feb 2007
Hi.

I have a spreadsheet where I add multiple entries every day.

Here's the layout:

Date cust # sale COMM

For sake of ease, I add about 6 customers straight down the column.
At the end of the period I'd like to run a simple macro that will show
the total sales and COMMs for every customer. I've been going the
long way about this for awhile by selecting the Sumof symbol and
selecting the fields relevant, but it is becoming very cumbersome as I
have hundreds of entries every time I run this report.

Thanks for any input.

John

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      15th Feb 2007
why not insert a row above your headers and use

=Sum(C3:C1000)
(as an example - adjust the range to suit).

then you should see the total as you enter the data.

--
Regards,
Tom Ogilvy


"John" wrote:

> Hi.
>
> I have a spreadsheet where I add multiple entries every day.
>
> Here's the layout:
>
> Date cust # sale COMM
>
> For sake of ease, I add about 6 customers straight down the column.
> At the end of the period I'd like to run a simple macro that will show
> the total sales and COMMs for every customer. I've been going the
> long way about this for awhile by selecting the Sumof symbol and
> selecting the fields relevant, but it is becoming very cumbersome as I
> have hundreds of entries every time I run this report.
>
> Thanks for any input.
>
> John
>
>

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      16th Feb 2007
On Feb 15, 2:43 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
wrote:
> why not insert a row above your headers and use
>
> =Sum(C3:C1000)
> (as an example - adjust the range to suit).
>
> then you should see the total as you enter the data.
>
> --
> Regards,
> Tom Ogilvy
>
> "John" wrote:
> > Hi.

>
> > I have a spreadsheet where I add multiple entries every day.

>
> > Here's the layout:

>
> > Date cust # sale COMM

>
> > For sake of ease, I add about 6 customers straight down the column.
> > At the end of the period I'd like to run a simple macro that will show
> > the total sales and COMMs for every customer. I've been going the
> > long way about this for awhile by selecting the Sumof symbol and
> > selecting the fields relevant, but it is becoming very cumbersome as I
> > have hundreds of entries every time I run this report.

>
> > Thanks for any input.

>
> > John



I apologize for not being more clear. I want to automate the sorting
of all cust. # and then the total sum of COMMs for each cust. #.

Any suggestions?

Thanks

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      16th Feb 2007
On Feb 15, 2:43 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
wrote:
> why not insert a row above your headers and use
>
> =Sum(C3:C1000)
> (as an example - adjust the range to suit).
>
> then you should see the total as you enter the data.
>
> --
> Regards,
> Tom Ogilvy
>
> "John" wrote:
> > Hi.

>
> > I have a spreadsheet where I add multiple entries every day.

>
> > Here's the layout:

>
> > Date cust # sale COMM

>
> > For sake of ease, I add about 6 customers straight down the column.
> > At the end of the period I'd like to run a simple macro that will show
> > the total sales and COMMs for every customer. I've been going the
> > long way about this for awhile by selecting the Sumof symbol and
> > selecting the fields relevant, but it is becoming very cumbersome as I
> > have hundreds of entries every time I run this report.

>
> > Thanks for any input.

>
> > John


Here's a better look at what I'm dealing with:

date cust # sales COMM
12-Jan 1 100 20
12-Jan 2 101 20.2
12-Jan 3 102 20.4
12-Jan 4 103 20.6
12-Jan 5 104 20.8
12-Jan 6 105 21
13-Jan 1 106 21.2
13-Jan 2 107 21.4
13-Jan 3 108 21.6
13-Jan 4 109 21.8
13-Jan 5 110 22
13-Jan 6 111 22.2
14-Jan 1 112 22.4
14-Jan 2 113 22.6
14-Jan 3 114 22.8
14-Jan 4 115 23
14-Jan 5 116 23.2
14-Jan 6 117 23.4
15-Jan 1 118 23.6
15-Jan 2 119 23.8
15-Jan 3 120 24
15-Jan 4 121 24.2
15-Jan 5 122 24.4
15-Jan 6 123 24.6
16-Jan 1 124 24.8
16-Jan 2 125 25
16-Jan 3 126 25.2
16-Jan 4 127 25.4
16-Jan 5 128 25.6

I'd like to be able to sort by cust # and then have the total COMMs
added automatically for each cust. #.

Any suggestions?

Thanks

 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      17th Feb 2007
Use Data=>Subtotal.

--
Regards,
Tom Ogilvy

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 15, 2:43 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
> wrote:
>> why not insert a row above your headers and use
>>
>> =Sum(C3:C1000)
>> (as an example - adjust the range to suit).
>>
>> then you should see the total as you enter the data.
>>
>> --
>> Regards,
>> Tom Ogilvy
>>
>> "John" wrote:
>> > Hi.

>>
>> > I have a spreadsheet where I add multiple entries every day.

>>
>> > Here's the layout:

>>
>> > Date cust # sale COMM

>>
>> > For sake of ease, I add about 6 customers straight down the column.
>> > At the end of the period I'd like to run a simple macro that will show
>> > the total sales and COMMs for every customer. I've been going the
>> > long way about this for awhile by selecting the Sumof symbol and
>> > selecting the fields relevant, but it is becoming very cumbersome as I
>> > have hundreds of entries every time I run this report.

>>
>> > Thanks for any input.

>>
>> > John

>
> Here's a better look at what I'm dealing with:
>
> date cust # sales COMM
> 12-Jan 1 100 20
> 12-Jan 2 101 20.2
> 12-Jan 3 102 20.4
> 12-Jan 4 103 20.6
> 12-Jan 5 104 20.8
> 12-Jan 6 105 21
> 13-Jan 1 106 21.2
> 13-Jan 2 107 21.4
> 13-Jan 3 108 21.6
> 13-Jan 4 109 21.8
> 13-Jan 5 110 22
> 13-Jan 6 111 22.2
> 14-Jan 1 112 22.4
> 14-Jan 2 113 22.6
> 14-Jan 3 114 22.8
> 14-Jan 4 115 23
> 14-Jan 5 116 23.2
> 14-Jan 6 117 23.4
> 15-Jan 1 118 23.6
> 15-Jan 2 119 23.8
> 15-Jan 3 120 24
> 15-Jan 4 121 24.2
> 15-Jan 5 122 24.4
> 15-Jan 6 123 24.6
> 16-Jan 1 124 24.8
> 16-Jan 2 125 25
> 16-Jan 3 126 25.2
> 16-Jan 4 127 25.4
> 16-Jan 5 128 25.6
>
> I'd like to be able to sort by cust # and then have the total COMMs
> added automatically for each cust. #.
>
> Any suggestions?
>
> Thanks
>



 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      17th Feb 2007
Turn on the macro recorder while you do Data=> sort , then do Data=>Subtotal

Turn off the macro recorder and adjust the recorded code if necessary

--
Regards,
Tom Ogilvy

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 15, 2:43 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
> wrote:
>> why not insert a row above your headers and use
>>
>> =Sum(C3:C1000)
>> (as an example - adjust the range to suit).
>>
>> then you should see the total as you enter the data.
>>
>> --
>> Regards,
>> Tom Ogilvy
>>
>> "John" wrote:
>> > Hi.

>>
>> > I have a spreadsheet where I add multiple entries every day.

>>
>> > Here's the layout:

>>
>> > Date cust # sale COMM

>>
>> > For sake of ease, I add about 6 customers straight down the column.
>> > At the end of the period I'd like to run a simple macro that will show
>> > the total sales and COMMs for every customer. I've been going the
>> > long way about this for awhile by selecting the Sumof symbol and
>> > selecting the fields relevant, but it is becoming very cumbersome as I
>> > have hundreds of entries every time I run this report.

>>
>> > Thanks for any input.

>>
>> > John

>
>
> I apologize for not being more clear. I want to automate the sorting
> of all cust. # and then the total sum of COMMs for each cust. #.
>
> Any suggestions?
>
> Thanks
>



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      18th Feb 2007
On Feb 16, 7:21 pm, "Tom Ogilvy" <twogi...@msn.com> wrote:
> Turn on the macro recorder while you do Data=> sort , then do Data=>Subtotal
>
> Turn off the macro recorder and adjust the recorded code if necessary
>
> --
> Regards,
> Tom Ogilvy
>
> "John" <geotra...@yahoo.com> wrote in message
>
> news:(E-Mail Removed)...
>
> > On Feb 15, 2:43 pm, Tom Ogilvy <TomOgi...@discussions.microsoft.com>
> > wrote:
> >> why not insert a row above your headers and use

>
> >> =Sum(C3:C1000)
> >> (as an example - adjust the range to suit).

>
> >> then you should see the total as you enter the data.

>
> >> --
> >> Regards,
> >> Tom Ogilvy

>
> >> "John" wrote:
> >> > Hi.

>
> >> > I have a spreadsheet where I add multiple entries every day.

>
> >> > Here's the layout:

>
> >> > Date cust # sale COMM

>
> >> > For sake of ease, I add about 6 customers straight down the column.
> >> > At the end of the period I'd like to run a simple macro that will show
> >> > the total sales and COMMs for every customer. I've been going the
> >> > long way about this for awhile by selecting the Sumof symbol and
> >> > selecting the fields relevant, but it is becoming very cumbersome as I
> >> > have hundreds of entries every time I run this report.

>
> >> > Thanks for any input.

>
> >> > John

>
> > I apologize for not being more clear. I want to automate the sorting
> > of all cust. # and then the total sum of COMMs for each cust. #.

>
> > Any suggestions?

>
> > Thanks



After playing around with this, this appears to do what I need.
Thanks so much Tom! You're a big help!


 
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
cumulative total T McShu Microsoft Excel Misc 1 8th Dec 2008 07:01 PM
cumulative total =?Utf-8?B?R2Vvcmdl?= Microsoft Excel Misc 4 27th Oct 2006 02:20 PM
Sum total costs for multiple entries Dark_Templar Microsoft Excel Misc 4 10th May 2006 04:57 PM
how to transfer the total of multiple entries in a sheet to another in the same file? PRAMOD Microsoft Excel Discussion 0 26th Jun 2004 08:38 AM
Help..total multiple entries in a single cell... bjack56 Microsoft Excel Worksheet Functions 5 23rd Dec 2003 12:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:56 AM.