Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Anna / Ideal
 
Posts: n/a
Default Running total w/2 columns - Excel

I have a spreadsheet where I have an "Current" column & a "MTD" column, can I
have the MTD column keep a running total everytime I enter a new number in
the Current column?
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

With your current column being B starting with data in B2 and your MTD
column being C
In C2
=IF(B2="","",SUM($B$2:B2))
Copy down column C as far as you need.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I have a spreadsheet where I have an "Current" column & a "MTD" column, can
I
have the MTD column keep a running total everytime I enter a new number in
the Current column?



  #3   Report Post  
Anna / Ideal
 
Posts: n/a
Default

Roger: Thank you for your response. My problem is this: When I used this
formula and I typed in a number, that number was shown in the MTD column.
Perfect. Except when I enter a new number in the Current column, it just put
that same number in the MTD column.

Say like this:

Current MTD
Shingle loads 5 10
Job set ups 4 8
Shingle complete 6 15

So, the next day I would just put a new number in the current column and
then I am manually changing the MTD column. I would like it to automatically
add the new number itself in the MTD column.

Is this possible?

"Roger Govier" wrote:

With your current column being B starting with data in B2 and your MTD
column being C
In C2
=IF(B2="","",SUM($B$2:B2))
Copy down column C as far as you need.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I have a spreadsheet where I have an "Current" column & a "MTD" column, can
I
have the MTD column keep a running total everytime I enter a new number in
the Current column?




  #4   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Anna

I don't think you can have copied my formula correctly.
Is your Monthly data in column B? Is your cumulative in column C?
If not you will need to modify it accordingly.

Do note the use of the $ signs in front of the B and 2 at the beginning if
the last expression. They are ther to anchor the start point to the
beginning of you data and will remain fixed as you copy down. The second B2
is relative, and will alter to B3, B4 etc. as you copy down.

=IF(B2="","",SUM($B$2:B2))
Post back iy you re using different columns, and can't amend the formula
yourself.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
Roger: Thank you for your response. My problem is this: When I used
this
formula and I typed in a number, that number was shown in the MTD column.
Perfect. Except when I enter a new number in the Current column, it just
put
that same number in the MTD column.

Say like this:

Current MTD
Shingle loads 5 10
Job set ups 4 8
Shingle complete 6 15

So, the next day I would just put a new number in the current column and
then I am manually changing the MTD column. I would like it to
automatically
add the new number itself in the MTD column.

Is this possible?

"Roger Govier" wrote:

With your current column being B starting with data in B2 and your MTD
column being C
In C2
=IF(B2="","",SUM($B$2:B2))
Copy down column C as far as you need.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I have a spreadsheet where I have an "Current" column & a "MTD" column,
can
I
have the MTD column keep a running total everytime I enter a new number
in
the Current column?






  #5   Report Post  
Anna / Ideal
 
Posts: n/a
Default

I beleive I did copy the formula correctly. The thing of it is, is that I
don't think that column C can add to itself. (when I tried to do this myself
I keep getting a circular reference) The number I putting in column B only
copies itself to column C exactly. It doesn't take the number that's already
in column C and add the new number in column B to itself. I'm only getting
what I enter in column B in column C. There is no addition happening.

"Roger Govier" wrote:

Hi Anna

I don't think you can have copied my formula correctly.
Is your Monthly data in column B? Is your cumulative in column C?
If not you will need to modify it accordingly.

Do note the use of the $ signs in front of the B and 2 at the beginning if
the last expression. They are ther to anchor the start point to the
beginning of you data and will remain fixed as you copy down. The second B2
is relative, and will alter to B3, B4 etc. as you copy down.

=IF(B2="","",SUM($B$2:B2))
Post back iy you re using different columns, and can't amend the formula
yourself.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
Roger: Thank you for your response. My problem is this: When I used
this
formula and I typed in a number, that number was shown in the MTD column.
Perfect. Except when I enter a new number in the Current column, it just
put
that same number in the MTD column.

Say like this:

Current MTD
Shingle loads 5 10
Job set ups 4 8
Shingle complete 6 15

So, the next day I would just put a new number in the current column and
then I am manually changing the MTD column. I would like it to
automatically
add the new number itself in the MTD column.

Is this possible?

"Roger Govier" wrote:

With your current column being B starting with data in B2 and your MTD
column being C
In C2
=IF(B2="","",SUM($B$2:B2))
Copy down column C as far as you need.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I have a spreadsheet where I have an "Current" column & a "MTD" column,
can
I
have the MTD column keep a running total everytime I enter a new number
in
the Current column?








  #6   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Anna

The formula is not adding column C. It is providing a summation of column B
from row 2 down to the last entry in column B that is not blank.
As you continue to enter more data successively down column B, the adjacent
cell in column C will always reflect the summation as described above. Have
you actually tried it, or are you just assuming it doesn't work?

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I beleive I did copy the formula correctly. The thing of it is, is that I
don't think that column C can add to itself. (when I tried to do this
myself
I keep getting a circular reference) The number I putting in column B only
copies itself to column C exactly. It doesn't take the number that's
already
in column C and add the new number in column B to itself. I'm only
getting
what I enter in column B in column C. There is no addition happening.

"Roger Govier" wrote:

Hi Anna

I don't think you can have copied my formula correctly.
Is your Monthly data in column B? Is your cumulative in column C?
If not you will need to modify it accordingly.

Do note the use of the $ signs in front of the B and 2 at the beginning
if
the last expression. They are ther to anchor the start point to the
beginning of you data and will remain fixed as you copy down. The second
B2
is relative, and will alter to B3, B4 etc. as you copy down.

=IF(B2="","",SUM($B$2:B2))
Post back iy you re using different columns, and can't amend the formula
yourself.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
Roger: Thank you for your response. My problem is this: When I used
this
formula and I typed in a number, that number was shown in the MTD
column.
Perfect. Except when I enter a new number in the Current column, it
just
put
that same number in the MTD column.

Say like this:

Current MTD
Shingle loads 5 10
Job set ups 4 8
Shingle complete 6 15

So, the next day I would just put a new number in the current column
and
then I am manually changing the MTD column. I would like it to
automatically
add the new number itself in the MTD column.

Is this possible?

"Roger Govier" wrote:

With your current column being B starting with data in B2 and your MTD
column being C
In C2
=IF(B2="","",SUM($B$2:B2))
Copy down column C as far as you need.

--
Regards

Roger Govier


"Anna / Ideal" wrote in message
...
I have a spreadsheet where I have an "Current" column & a "MTD"
column,
can
I
have the MTD column keep a running total everytime I enter a new
number
in
the Current column?








  #7   Report Post  
pthillegas
 
Posts: n/a
Default


Anna-

You should use two sheets in the same workbook. Use sheet1 to
summarize your results for printing and Sheet2 to input the daily
numbers .

Set up sheet2 (your data) something like this:

1 A B C D E
F G H
2 1/1/2005 1/2/2005 1/3/2005 1/4/2005 1/5/2005 1/6/2005 1/7/2005
3 Item A 7 5 3 8 9 1 4
4 Item B 3 5 9 0 2 4 6

Set up Sheet1 (summary for presentation) as follows:

A B C
1 1/2/2005
2 Cur Mo MTD
3
4 Item A 5 12
5 Item B 5 8

where Cell A1 contains the report date,

The current month column uses the following formula:

=SUMIF(Sheet2!B$2:I$2,Sheet1!$A$1,Sheet2!B3:I3); copy this formula
down

Use the following array formula in the month-to-date column:

{=SUM(IF(Sheet2!B$2:I$2<=Sheet1!$A$1,Sheet2!B3:I3, 0))}; copy this
formula down

Note that this is an array formula - do not type the braces "{}", Excel
will enter these for you - you will need to type the formula and press
Ctrl-Shift-Enter to make it work.

By setting up your worksheet this way you can "recreate" any day of the
month by entering a date into cell A1 on Sheet1.

Also, on Sheet2 enter the first day of the month in Cell B2, then in
column C2 enter the formula =B2+1 and copy this to subsequent columns.
That way when creating the worksheet for the next month you only need to
enter the new month's starting date in B2.

-Terry


--
pthillegas
------------------------------------------------------------------------
pthillegas's Profile: http://www.excelforum.com/member.php...o&userid=16836
View this thread: http://www.excelforum.com/showthread...hreadid=393112

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
Linking Excel columns in two different excel programs Shinra14 Excel Discussion (Misc queries) 2 June 28th 05 01:45 PM
Having trouble totaling columns in excel 2003, always worked b4 rjmac Excel Worksheet Functions 1 June 24th 05 07:01 PM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 1 February 10th 05 09:20 PM
timesheet with running total of overtime kimmyrt Excel Worksheet Functions 2 January 26th 05 06:15 PM
how do i set up a single cell continual entry in excel to total f. mike@swallow Excel Discussion (Misc queries) 1 December 7th 04 12:29 PM


All times are GMT +1. The time now is 08:32 PM.

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

About Us

"It's about Microsoft Excel"