Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Running total using macro

i have made a spreadsheet which calculates how much
packaging the company has used to send out to customers.
This is something that has to be done for SEPA (Scottish
Environmental Agency). when i in put data of one of our
products the spreadsheet works out how many boxes, tyoe of
box ,etc. For the past year there have been hundreds of
orders and each on needs to be put through the
spreadsheet. i need to keep a running total of the tonnage
of packaging for every new item entered, i think the best
way to do this is to have a command button to update the
running total for everytime i enter new data. my problem
is that i dont know visual basic.can anyone help

cheers
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Running total using macro

Hi Rusty
if you only want a running total for all rows you may use the following
formula (for column B):
=SUM(OFFSET($B$1,0,0,COUNTA($B:$B))
sums all entries in column B 8assumption: no blank rows in between)
--
Regards
Frank Kabel
Frankfurt, Germany

Rusty wrote:
i have made a spreadsheet which calculates how much
packaging the company has used to send out to customers.
This is something that has to be done for SEPA (Scottish
Environmental Agency). when i in put data of one of our
products the spreadsheet works out how many boxes, tyoe of
box ,etc. For the past year there have been hundreds of
orders and each on needs to be put through the
spreadsheet. i need to keep a running total of the tonnage
of packaging for every new item entered, i think the best
way to do this is to have a command button to update the
running total for everytime i enter new data. my problem
is that i dont know visual basic.can anyone help

cheers


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Total DisMusBeDaPlaz Excel Worksheet Functions 3 February 9th 10 04:48 PM
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
running total and average of that total after 3 events belvy123 Excel Discussion (Misc queries) 0 March 28th 07 02:57 AM
running total and average of that total after 3 events Toppers Excel Discussion (Misc queries) 1 March 28th 07 02:19 AM
having a running total Kathy Flynn Excel Discussion (Misc queries) 4 January 29th 07 10:47 PM


All times are GMT +1. The time now is 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"