Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
rGrant
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

I have a column of figures in Row A (Monthly figs). I want to be able to
change these monthly figures and for it to be added to a running total in
Column B (YTD). However each time I put the formula in =(a1+b1) and =(a2+b2)
etc., the figures change all down column B whereas I only want the figs in
the corresponding cell in Column B to change. How do I stop this happening?
--
rGrant
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

"rGrant" wrote:
I have a column of figures in Row A (Monthly figs). I want to be able to
change these monthly figures and for it to be added to a running total in
Column B (YTD). However each time I put the formula in =(a1+b1) and =(a2+b2)
etc., the figures change all down column B whereas I only want the figs in
the corresponding cell in Column B to change. How do I stop this happening?


Just some thoughts to achieve what I think you're trying to do here ..

Assuming the 12 monthly figures are input in A2:A13,
we could pull up a "cumulative YTD" figure in B2:B13

Put in B2: =A2
Put in B3: =SUM(B2,A3)
Copy B3 down to B13

To copy the formula in B3 down, point at the fill handle
(that's the solid black square at the bottom right hand corner of B3)
then drag down to B13.

When the monthly figures within A2:A13 are changed,
col B will compute accordingly.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #3   Report Post  
Posted to microsoft.public.excel.misc
rGrant
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

Apologies - It is the cumulative effect in Column B than I am trying to
avoid. Imagine the figure in A2 is April's sales figure and B2 is the YTD
figure Jan-Apr. When I produce the sales figure for May I want to be able to
change the figure in A2 to my new figure and for this to be added to B2. I do
not want the figures in the rest of Column B to change.
--
rGrant


"Max" wrote:

"rGrant" wrote:
I have a column of figures in Row A (Monthly figs). I want to be able to
change these monthly figures and for it to be added to a running total in
Column B (YTD). However each time I put the formula in =(a1+b1) and =(a2+b2)
etc., the figures change all down column B whereas I only want the figs in
the corresponding cell in Column B to change. How do I stop this happening?


Just some thoughts to achieve what I think you're trying to do here ..

Assuming the 12 monthly figures are input in A2:A13,
we could pull up a "cumulative YTD" figure in B2:B13

Put in B2: =A2
Put in B3: =SUM(B2,A3)
Copy B3 down to B13

To copy the formula in B3 down, point at the fill handle
(that's the solid black square at the bottom right hand corner of B3)
then drag down to B13.

When the monthly figures within A2:A13 are changed,
col B will compute accordingly.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

"rGrant" wrote:
Apologies - It is the cumulative effect in Column B than I am trying to
avoid. Imagine the figure in A2 is April's sales figure and B2 is the YTD
figure Jan-Apr. When I produce the sales figure for May I want to be able to
change the figure in A2 to my new figure and for this to be added to B2. I do
not want the figures in the rest of Column B to change.


well ... if I'm reading / guessing you right, it's not possible via formulas
then again, why not go with the approach suggested earlier,
where successive monthly figures are entered progressively down in A2:A13
instead of repeatedly overwriting a single source cell (A2?) with new
figures ??

Perhaps you could paste the actual formulas you have in B2, B3 & B4 (say)
so that we could have a better feel of what's happening over there <g

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.misc
rGrant
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

Mth Apr YTD
Co A 2 53
Co B 16 32
Co C 46 103
Co D 10 89
Using these figures I was putting the formula =(B2+C2) where the figure 53
is. I solved the Circular reference I created and this worked fine. However
things go wrong when I put =(B3+C3) where 32 is located. Everytime I update
B2, where 2 is located it automatically adds another16 to C3!! Each row is a
distinct set of figures although I need to create graphs, total and calculate
percentages - hence in this format.
--
rGrant


"Max" wrote:

"rGrant" wrote:
Apologies - It is the cumulative effect in Column B than I am trying to
avoid. Imagine the figure in A2 is April's sales figure and B2 is the YTD
figure Jan-Apr. When I produce the sales figure for May I want to be able to
change the figure in A2 to my new figure and for this to be added to B2. I do
not want the figures in the rest of Column B to change.


well ... if I'm reading / guessing you right, it's not possible via formulas
then again, why not go with the approach suggested earlier,
where successive monthly figures are entered progressively down in A2:A13
instead of repeatedly overwriting a single source cell (A2?) with new
figures ??

Perhaps you could paste the actual formulas you have in B2, B3 & B4 (say)
so that we could have a better feel of what's happening over there <g

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Calculating a YTD figures from changing monthly figure.

Here's an example set up to make it dynamic ..
(wo getting into circular ref problems <g)

A sample construct available at:
http://www.savefile.com/files/8312983
Monthly Figures n Dynamic YTD.xls

Source input table for the year is in E1:P5
E1:P1 houses first of month dates, formatted as: mmm-yy (Jan-06, Feb-06 ..)
Monthly figures data is input within E2:P5

In B1 is a data validation droplist,
created via clicking Data Validation
Allow: List
Source: =$E$1:$P$1

B1 allows the selection of the current month

In C1: YTD (a label)

Put in B2:
=IF($B$1="","",HLOOKUP($B$1,$E$1:$P$5,ROW(),0))

Put in C2:
=IF(OR($B$1="",B2=0),"",SUM(OFFSET(E2,,,,MATCH($B$ 1,$E$1:$P$1,0))))

Select B2:C2, copy down to C5

B2:B5 will return the figures for the month selected in B1 from the source
input table in E1:P5. C2:C5 will return the corresponding YTD figures. The
sample chart plotted on $A$1:$C$5 will also update accordingly.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"rGrant" wrote:
Mth Apr YTD
Co A 2 53
Co B 16 32
Co C 46 103
Co D 10 89
Using these figures I was putting the formula =(B2+C2) where the figure 53
is. I solved the Circular reference I created and this worked fine. However
things go wrong when I put =(B3+C3) where 32 is located. Everytime I update
B2, where 2 is located it automatically adds another16 to C3!! Each row is a
distinct set of figures although I need to create graphs, total and calculate
percentages - hence in this format.
--
rGrant

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
Calculating monthly budget expenses Warrain Excel Worksheet Functions 5 February 15th 06 10:54 PM
Changing positive figures to minus figures Louise Excel Worksheet Functions 2 September 14th 05 10:05 AM
calculating in a changing range gkaste Excel Discussion (Misc queries) 5 August 8th 05 09:49 PM
Formula to figure credit card payments Joe Gieder Excel Worksheet Functions 1 March 24th 05 02:56 AM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM


All times are GMT +1. The time now is 10:23 AM.

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"