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: 683
Default formula to add year to date figures

cells A1:L1 represent monthly expense totals from January to Dec. cell M1 is
the sum of the 12 months. I am trying to create a formula for cell N1 that
represents the year to date total of the previous year figures that I will be
getting form another worksheet. Here is an example...if there is a value
other than 0 in cells A1 and B1 and C1 but the value of cells D1:L1 are 0
then we know that the YTD formula in cell N1 should take 3 months of data
from Jan, Feb and March of the previous year. Then if cell D1 has a value
other than 0 the YTD formula will add 4 months and so on. I am not good with
this but the basics of a formula may look something like this =if(A1 does not
= 0 and B1:L1=0, then N1= WS2 A1, else if A1 and B1 do not = 0 and C1:L1=0,
then N1 = WS2 sum(A1:A2) or something like that. I think this is easier than
I am making it out to be. I appreciate your assistance with this formula.
--
Brian
 
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
Help w/formula to add 1 year to cell (date done) date due? GregJ Excel Worksheet Functions 3 September 20th 06 01:05 PM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM
Date formula: return Quarter and Fiscal Year of a date Rob Excel Discussion (Misc queries) 7 May 11th 05 08:48 PM
Formula to get a day of the year from a date [email protected] Excel Discussion (Misc queries) 4 February 1st 05 02:53 PM
Dynamic Year-To-Date Formula snax500 Excel Worksheet Functions 3 December 10th 04 08:56 PM


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