Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
=SUMIF Problem
I'm working on a Straight Line Depreciation Spreadsheet (this was a "Home
Grown" effort -- touched by many hands, and not derived from an Excel Template/Example) Basically, I have the following ... Cost (CELL M2) -- Life, in months (CELL L2) -- In-Service Date (CELL J2) -- Depreciation per month (CELL N2) -- Life/Cost) Beginning 01/01/2005, I have an "Accumulated Depreciation Total" (CELL O2) and the logic I want to apply is this: IF Value in Cell O2 < Cost (CELL M2) then I want to populate CELL P2 with the value of CELL P2 + the Monthly Depreciation (CELL N2) and continue this on out (giveing an Accumulated Depreciation Total 12/31/06 and each end-of-year until the value in any subsequent cell is equal to the Cost (CELL M2). Is there some code that I could use to manage this? For example (based on the Life -- 60 months, 120 months, ect. -- Auto Fill the appropriate number of cells to the right to correspond with the number of months in the Life Cycle. Thanks in advance for any assistance in this troubling problem. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
=SUMIF Problem
I usually use this formula to get Ending Accumulated Depreciation
Suppose: A1 = Cost B1 = Monthly Depreciation C1 = Beginning Accumulated Depreciation =MIN(C1+B1*12, A1-C1) Hope this helps. "doctorjones_md" <doctorjones_md(Remove wrote in message ... I'm working on a Straight Line Depreciation Spreadsheet (this was a "Home Grown" effort -- touched by many hands, and not derived from an Excel Template/Example) Basically, I have the following ... Cost (CELL M2) -- Life, in months (CELL L2) -- In-Service Date (CELL J2) -- Depreciation per month (CELL N2) -- Life/Cost) Beginning 01/01/2005, I have an "Accumulated Depreciation Total" (CELL O2) and the logic I want to apply is this: IF Value in Cell O2 < Cost (CELL M2) then I want to populate CELL P2 with the value of CELL P2 + the Monthly Depreciation (CELL N2) and continue this on out (giveing an Accumulated Depreciation Total 12/31/06 and each end-of-year until the value in any subsequent cell is equal to the Cost (CELL M2). Is there some code that I could use to manage this? For example (based on the Life -- 60 months, 120 months, ect. -- Auto Fill the appropriate number of cells to the right to correspond with the number of months in the Life Cycle. Thanks in advance for any assistance in this troubling problem. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
have some problem with database | Excel Discussion (Misc queries) | |||
Urgent Help Required on Excel Macro Problem | Excel Discussion (Misc queries) | |||
Problem With Reference Update | Excel Worksheet Functions | |||
Copy an Drag cell Formula Problem | Excel Discussion (Misc queries) | |||
Freeze Pane problem in shared workbooks | Excel Discussion (Misc queries) |