LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default refering to previous sheet

Hi all,

Have trolled the net for the last 3 hours and found nothing that
matches my requirements closely enough and hoping someone out there has
a solution.

Application: Excel 2000
Purpose: Monthly management reports
Background:
I am trying to get a formula that refers to the previous months
spreadsheet to calculate the current "year to date" result of RAW data.
i.e. in January I need the formula to reference December, February to
reference January etc etc etc.

My problem is that it is not just a reference it is a reference plus
other cells in the active spreadsheet i.e. =+November!H129+D129

I know that I can "hard" code the answer and in fact that's exactly
what I have done, but there must be a more elegant answer. Also it is a
real pain to search and replace formulas if I modify the spreadsheets
and have to recreate them as new ones.


I have worked out a way to "automatically" create a concatenated string
of the formula I need but I cannot convert the string to the correct
formula;

=((+VLOOKUP(+IF((+MONTH(+G125)-1)=0,12,(+MONTH(+G125)-1)),Summary!A20:B32,2)))&"!H129"+D129

----the vlookup just looks up a calendar table on the summary
spreadsheet to return the month value-------

and if that's not enough the reference to the previous months cell
and the current months cell needs to be relative.

hopefully I haven't confused everyone.

TIA

Raj

 
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
lock tab in sheet 2 until cell in sheet one is completed john tempest Excel Worksheet Functions 7 November 24th 05 08:45 AM
How to get a row consecutive from a sheet to another rodante Excel Worksheet Functions 4 October 30th 05 06:20 PM
Refer new sheet to previous sheet Spot Excel Worksheet Functions 2 September 9th 05 02:05 PM
linking multiple sheets to a summary sheet greg g Excel Discussion (Misc queries) 1 December 16th 04 07:43 AM
referring to previous sheet Iolao Excel Discussion (Misc queries) 3 November 26th 04 08:40 PM


All times are GMT +1. The time now is 04:27 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"