Question

plot monthly amounts

Asked by: CHICHI120976

column A  (monthly depreciation):  10

column B  start date:  2/21/2005
column C  end date:  9/21/2005
column Q: number of months from start date to end date:  7 mos. --- computed as ((column C-column B)/30)
column R:  total depreciation:  7 x 10 = 70

how do we plot the monthly dep in all months in columns D to O such that:
1.  if day of start date (column B) falls within 1 to 15, depreciation to be plot
on the month of column B shall be the full amount (10).  But if day of start date (column B) falls within
16 to the end of the month, depreciation to be plot on the month of column B shall be the
half amount (10/2=5).
2.  full amount depreciation shall then be plot on the succeeding months until nth month
of column Q.
3.  in case half amount was used in #1, the last month should also be half amount so that
the total number of months will be equal to column Q
4.  total depreciation that will result from columns D to O should then be equal to column R


what will be the formula from columns D to O to have the following result:

D      E      F      G      H      I      J      K      L      M      N      O
Jan      Feb      Mar      Apr      May      Jun      Jul      Aug      Sept      Oct      Nov      Dec
       5      10      10      10      10      10      10      5

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-07-13 at 02:38:47ID21056676
Tags

apr

,

depreciation

,

formula

Topic

Microsoft Excel Spreadsheet Software

Participating Experts
1
Points
500
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Frequency Plot under Excel
    I need to produce frequency plots for data which has already been analysed. Effectively, I have produced a histogram table and I now want excel to chart it. Is there any easy way of doing this? I don't want to use a scatter plot, neither do I want to use a bar chart which is...
  2. XY Plot
    I have developed an application which draws 2D plots. These plots contains more than 100000 data points but can also contain more than 1e7 data points. The first approach I took was to draw all the points using MoveTo/LineTo: //n= number of points //step is normallly =1 //F...
  3. Plotting Data
    Hi experts, I have column B as my time, data column C and D. So, upon a mouse click, I want excel to plot two charts: B vs C and B vs. D with chart Standard Type= Line, and sub-type = Line. It would be nice if you can give me the ability to modify the scales, trends mark...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: CHICHI120976Posted on 2004-07-13 at 02:44:59ID: 11537305

HERE'S A CLEARER LIST OF VALUES PER COLUMN:

D-Jan:      
E-Feb:5
F-Mar:10
G-Apr:10
H-May:10
I-Jun:10
J-Jul:10
K-Aug:10
L-Sept:5
M-Oct:
N-Nov:
O-Dec:

 

by: icebPosted on 2004-07-13 at 03:30:55ID: 11537562

Hi Chichi,

In case your data remains the same as provided by you- the following solutiong will work, otherwise to work without complicating the solution too much, you will need to assign the FIRST and the LAST cell value in your series manually (E2 and L2 for the sample given) and the intermediate month values- set to that of A2.

1) Assign the following values in the cells D2, E2, F2..... O2  assuming all values in Row 2

column D-Jan:
column E-Feb: =IF(DAY(B2)>15,A2/2,A2)
column F-Mar: =A2
column G-Apr: =A2
column H-May: =A2
column I-Jun: =A2
column J-Jul: =A2
column K-Aug: =A2
column L-Sep: =E2
column M-Oct:
column N-Nov:
column O-Dec:

[ for Row n, formula becomes =IF(DAY(Bn)>15,An/2,An) ]

2) For the source data of your plot, make the Data Range on cells =Sheet1!$D$1:$O$2

thnx n regds,
-iceB

 

by: CHICHI120976Posted on 2004-07-13 at 03:47:11ID: 11537645

thanks.  however,
first and last value could not be assigned manually because columns A, B and C are variable columns

 

by: icebPosted on 2004-07-13 at 05:29:58ID: 11538234

The following set up gives the desired result with no manual intervention:
Hope it works for you too :)

Keeping in mind that these cells values are dynamic
---------------------------------------------------
A2: 10 (monthly depreciation)
B2: 2/21/2005 (start date)
C2: 9/21/2005 (end date)
---------------------------------------------------


Put the Month No. in these cells of Row 1
---------------------------------------------------
D1: 1
E1: 2
F1: 3
...
......
N1: 11
O1: 12
---------------------------------------------------


Put a Universal logic in all cells
---------------------------------------------------
D2: =IF(D1<MONTH($B2),0,(IF(D1=MONTH($B2),(IF(DAY($B2)>15,$A2/2,$A2)),(IF(D1=MONTH($C2),(IF(DAY($C2)>15,$A2/2,$A2)),(IF(D1>MONTH($C2),0,$A2)))))))

E2: (drag the value from cell D2 to O2)
F2: (drag the value from cell D2 to O2)
...
......
O2: (drag the value from cell D2 to O2)
---------------------------------------------------

regds,
-iceB

 

by: CHICHI120976Posted on 2004-07-14 at 00:04:26ID: 11546372

dear iceB,

I did further testing and realized that there's an error in the formula..pls help:

here's my new data:
Z4 to AK4:  months (1 to 12)
V5:  monthly depreciation :  100
S5:  start date :  1/1/2005
T5:  end date : 12/31/2005


formula:
=-(IF(Z4<MONTH($S5),0,(IF(Z4=MONTH($S5),(IF(DAY($S5)>15,$V5/2,$V5)),(IF(Z4=MONTH($T5),(IF(DAY($T5)>15,$V5/2,$V5)),(IF(Z4<MONTH($T5),0,$V5))))))))


problem and result:
months 1 to 11 correctly resulted to monthly depreciation of 100
but month 12's depreciation is only 50.  month 12 should be 100 also considereing that the number of months from start date to end date is 12 months.  total depreciation should be 100 x 12 = 1200.
but with the above forumula, total from month 1 to 12 is only 1150.

pls advise.  thanks very much.  let me know if i need to reaise a new question for this.

 

by: CHICHI120976Posted on 2004-07-14 at 00:05:56ID: 11546383

 

by: icebPosted on 2004-07-14 at 05:55:58ID: 11548431

Please visit the new topic, I've submitted my comments.

regds,
~iceB

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...