Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help w/formula to add 1 year to cell (date done) date due? | Excel Worksheet Functions | |||
Year-to-date year to date formula | Excel Worksheet Functions | |||
Date formula: return Quarter and Fiscal Year of a date | Excel Discussion (Misc queries) | |||
Formula to get a day of the year from a date | Excel Discussion (Misc queries) | |||
Dynamic Year-To-Date Formula | Excel Worksheet Functions |