Solved

Excel Running Total Formula

Posted on 2011-02-27
5
235 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

776 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