Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default building YTD figures by adding to a previous months total


HI All,

a little help here please? I've had a look on the forum and although
found references to similar problems did not manage to find an existing
solution.

I'm thrying to build a spreadsheet that allows me to report monthly
figures by taking last months YTD figure, adding this months sales and
obtaining a new YTD.

I have a sheet for each month.

so far I am using :

='April '!M7+May!M7+June!M7+July!M7..... etc

which does work as I go along, but means that once you add in the new
month's figures the previous months all reflect that as well.

Is there a "last month" function?

In the past I did it manually, editing the reference to "last month"
and giving specific cell locations and changing that specific cell
location in each month. Unfortunately I have hundreds cell locations to
change and it means adding a new customer or product is very time
consuming.

I've also tried using :

=February!L7+M7

and then changing "febraury!" to "march!" using a global find and
replace for each month. This is much quicker but again it is very
difficult to add in new products or customers.


any ideas please?


--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default building YTD figures by adding to a previous months total

Hi,

try to use Indirect and Address embeded, use an auxiliar cell to type the
last month eg. March (assuming this auxiliar cell is F3)

so: =indirect(address(7,13,1,1,$F$3))

when
7 = line
13 = M column (13th column)
1 = absolute or relatvie (could be 1, 2, 3 or 4)
1 = A1 or R1C1
$F$3 = March
=March!M7

hth
regards from Brazil
Marcelo




"axialtilt" escreveu:


HI All,

a little help here please? I've had a look on the forum and although
found references to similar problems did not manage to find an existing
solution.

I'm thrying to build a spreadsheet that allows me to report monthly
figures by taking last months YTD figure, adding this months sales and
obtaining a new YTD.

I have a sheet for each month.

so far I am using :

='April '!M7+May!M7+June!M7+July!M7..... etc

which does work as I go along, but means that once you add in the new
month's figures the previous months all reflect that as well.

Is there a "last month" function?

In the past I did it manually, editing the reference to "last month"
and giving specific cell locations and changing that specific cell
location in each month. Unfortunately I have hundreds cell locations to
change and it means adding a new customer or product is very time
consuming.

I've also tried using :

=February!L7+M7

and then changing "febraury!" to "march!" using a global find and
replace for each month. This is much quicker but again it is very
difficult to add in new products or customers.


any ideas please?


--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default building YTD figures by adding to a previous months total


brilliant - thank you Marcelo


--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default building YTD figures by adding to a previous months total

thanks for the feedback,

Regards
Marcelo

"axialtilt" escreveu:


brilliant - thank you Marcelo


--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default building YTD figures by adding to a previous months total


Thanks Roger, interesting approach to the problem. I would like to try
to build it so that all was needed was to enter the numbers each
month.


Marcelo,

I got your idea working really nicely - for one cell.

I can't see how you can copy that formula down a column so that it
automatically increments the row number as it goes down. I thought that
making the abs_num 3 or 4 should do that, but apparently not.



I've included a test spread sheet if anybody would be so kind to take a
look...

The indirect address function is in cell A7 of the May sheet.

What I would like to do is drag/copy that cell down to A10, then
duplicate the May sheet so all I have to change is the month number to
3 and the sheet title to June to set up the next month.

cheers

Axial


+-------------------------------------------------------------------+
|Filename: indirectaddress.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5081 |
+-------------------------------------------------------------------+

--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default building YTD figures by adding to a previous months total

Hi

two ways,

=indirect(address(7,13,1,1,$F$3))

the 7 is the row number you can substitue by row() or create an auxiliar
column to "ID" the numbers you are looking for before copy it down.

hth
regards from Brazil
Marcelo

"axialtilt" escreveu:


Thanks Roger, interesting approach to the problem. I would like to try
to build it so that all was needed was to enter the numbers each
month.


Marcelo,

I got your idea working really nicely - for one cell.

I can't see how you can copy that formula down a column so that it
automatically increments the row number as it goes down. I thought that
making the abs_num 3 or 4 should do that, but apparently not.



I've included a test spread sheet if anybody would be so kind to take a
look...

The indirect address function is in cell A7 of the May sheet.

What I would like to do is drag/copy that cell down to A10, then
duplicate the May sheet so all I have to change is the month number to
3 and the sheet title to June to set up the next month.

cheers

Axial


+-------------------------------------------------------------------+
|Filename: indirectaddress.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5081 |
+-------------------------------------------------------------------+

--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile: http://www.excelforum.com/member.php...o&userid=36694
View this thread: http://www.excelforum.com/showthread...hreadid=564245


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default building YTD figures by adding to a previous months total

Hi

I would insert 2 new sheets and call them First and Last.
Drag them to a position before your First Month and after your last
month respectively.
On your Summary sheet, which should be outside of the "sandwich" created
by First and Last enter
=SUM(First:Last!M7)

By moving the position of Last, you can have your summary show totals up
to any given month.

--
Regards

Roger Govier


"axialtilt"
wrote in message
...

HI All,

a little help here please? I've had a look on the forum and although
found references to similar problems did not manage to find an
existing
solution.

I'm thrying to build a spreadsheet that allows me to report monthly
figures by taking last months YTD figure, adding this months sales and
obtaining a new YTD.

I have a sheet for each month.

so far I am using :

='April '!M7+May!M7+June!M7+July!M7..... etc

which does work as I go along, but means that once you add in the new
month's figures the previous months all reflect that as well.

Is there a "last month" function?

In the past I did it manually, editing the reference to "last month"
and giving specific cell locations and changing that specific cell
location in each month. Unfortunately I have hundreds cell locations
to
change and it means adding a new customer or product is very time
consuming.

I've also tried using :

=February!L7+M7

and then changing "febraury!" to "march!" using a global find and
replace for each month. This is much quicker but again it is very
difficult to add in new products or customers.


any ideas please?


--
axialtilt
------------------------------------------------------------------------
axialtilt's Profile:
http://www.excelforum.com/member.php...o&userid=36694
View this thread:
http://www.excelforum.com/showthread...hreadid=564245



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
Adding percentage as interest to a total Cath Excel Worksheet Functions 3 April 15th 06 01:03 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
updated running total from previous pages Steve Excel Worksheet Functions 0 July 7th 05 02:06 AM
Adding values from previous worksheets firecord Excel Worksheet Functions 1 June 27th 05 09:59 AM
Fiscal year total from running 12 months Excel Worksheet Functions 2 February 9th 05 12:11 AM


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

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"