LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default YTD Calculation using SUM and OFFSET

I have some financial data with months (Jan - Dec) across the top and cost
categories (such as Labor, Materials, Travel) down the side. This data is
replicated in a large number of identical worksheets (Dept A, Dept B, Dept C.,
etc).

I have a summary sheet up front and I want to do a Year to Date calculation
which for each cost category based on the current month. I have a cell in
which the current month is entered. I found a formula for YTD calculations
which works well for one worksheet:

"=SUM(OFFSET(C2,0,0,1,A1))" where A1 is the current month and the month by
month data is in C2 through n2.

How can I adapt this to work with multiple worksheets? I tried "=SUM
(Worksheet1:Worksheet25!OFFSET(C2,0,0,1,A1))" but it errored.

 
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
Multi threaded calculation (multi CPU) - impact on calculation spe Pascal[_2_] Excel Discussion (Misc queries) 1 December 3rd 08 10:46 AM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
Offset Eva Excel Worksheet Functions 1 January 30th 07 01:39 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


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