Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel Running Total Formula

Posted on 2011-02-27
5
Medium Priority
?
245 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:Tim Jackoboice
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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:Tim Jackoboice
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:Tim Jackoboice
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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 …

618 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