Solved

Revenue and cost calculations based on timing of rollout criteria Part II

Posted on 2014-04-18
8
269 Views
Last Modified: 2014-06-23
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28413405.html#a40009686

Continuation of Part I referenced above.

I need to be able to provide a start and end month for each scenario presented.
Monthly-Model-Example.xlsx
0
Comment
Question by:mdg1
[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
  • 6
  • 2
8 Comments
 
LVL 19

Accepted Solution

by:
Ken Butters earned 500 total points
ID: 40009801
Not sure if I hit all your cells that need updating or not...

I added Row 12 which defines an ending month...
then updated Row 27 "Monthly revenue" to check both start and end month.

The way sumifs works is sumifs(sum_range,criteria_range1,criteria1,critieria_range2,criteria2,...etc)

you can have as many pairs of criteria_range and criteria as you want.

in this posted example in cell I27 I have this formula:
=SUMIFS($B$27:$H$27,$B$11:$H11,"<= 1",$B$12:$H$12,">=1")

That means that we add B27 through H27...

But only if BOTH of the following critiera are true:


1) if B11 through H11 <= 1
2) If B12 through H12 >= 1


B11 through H11 are startiong month... and in Cell I27 is for month 1... so we want to add it if the starting month is <= 1 AND if the ending month >= 1.

Same logic applies to other cells as needed throughout the workbook.
Monthly-Model-Example.xlsx
0
 

Author Comment

by:mdg1
ID: 40009806
Looks good!  I'll continue to play with it and post comments or accept this by Monday.  Thanks so much.  Have a great weekend.  Cheers!
0
 

Author Comment

by:mdg1
ID: 40013617
Answer works great.

I will be posting another question related to this series.  I'll paste the url once I post the question.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mdg1
ID: 40013637
0
 
LVL 19

Expert Comment

by:Ken Butters
ID: 40013731
Reminder to close this question and award points if the answer is correct.   :)
0
 

Author Comment

by:mdg1
ID: 40013743
I've requested that this question be closed as follows:

Accepted answer: 0 points for mdg1's comment #a40009806

for the following reason:

Solution worked great and was delivered very quickly.
0
 

Author Closing Comment

by:mdg1
ID: 40013744
excellent
0
 

Author Comment

by:mdg1
ID: 40152496
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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