Solved

Excel Running Total Formula

Posted on 2011-02-27
5
234 Views
Last Modified: 2012-05-11
Hi:

I have a spreadsheet where Marketing dollars are determined from Sales figures. 20% of Sales should be allotted each month toward Marketing, but not to exceed $150,000 for the year. I need the monthly Marketing figures in a row, determined by the running formula based on Sales.

I have attached an example Excel spreadsheet.

Thanks in advance! ExpertsExchange.xls
0
Comment
Question by:Cactus1994
  • 3
  • 2
5 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 34993212
See attached.

Kevin
ExpertsExchange.xls
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 500 total points
ID: 34993215
A correction.

Formula in B4:

   =MIN(B3*0.2,150000)

Formula in C4:

   =MIN(C3*0.2,MAX(150000-SUM($B4:B4),0))

Copy C4 to the right.

Kevin
ExpertsExchange.xls
0
 

Author Comment

by:Cactus1994
ID: 34993242
Kevin:

Wow. Great. And quick, too.

One question, however. What if January sales were, for example, $1,000,000 and the Marketing dollars derived from that was $200,000? That would exceed the $150.000 cap....

Thanks.
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 34993249
See my second post above.

Kevin
0
 

Author Comment

by:Cactus1994
ID: 34993252
Thanks, Kevin. I posted my followup question before I saw you'd responded with a correction.

Works perfectly. Thanks again!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now