Solved

Modifying an existing excel formula/ookup with more

Posted on 2014-03-25
3
187 Views
Last Modified: 2014-03-25
Here is my existing formula/lookup that works well.

=SUMIFS('all deals'!J:J,'all deals'!G:G,"Commit",'all deals'!M:M,"Civilian") + SUMIFS('all deals'!J:J,'all deals'!G:G,"Upside",'all deals'!M:M,"Civilian")

I also need to include from "all deals" when column M="Civilian" and column D includes somewhere in the string the word "forecast"
0
Comment
Question by:Matt Pinkston
  • 2
3 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 39953281
You can simplify your current formula to a single SUMIFS like this:

=SUM(SUMIFS('all deals'!J:J,'all deals'!G:G,{"Commit","Upside"},'all deals'!M:M,"Civilian"))

Now you say you need to include when column M = "Civilian"......but that's already included so to add "Forecast" anywhere in column D just add a condition with wildcards like this:

=SUM(SUMIFS('all deals'!J:J,'all deals'!G:G,{"Commit","Upside"},'all deals'!M:M,"Civilian",'all deals'!D:D,"*Forecast*"))

regards, barry
0
 

Author Comment

by:Matt Pinkston
ID: 39953379
Barry is this what you had in mind?

=SUMIFS('all deals'!J:J,'all deals'!G:G,{"Commit","Upside"},'all deals'!M:M,"Civilian") + SUMIFS('all deals'!J:J,'all deals'!D:D,"*Forecast*",'all deals'!M:M,"Civilian")
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39953509
Hello pinkstonmp

Can you restate the requirement?

You said


I also need to include from "all deals" when column M="Civilian" and column D includes somewhere in the string the word "forecast"

....but the "Civilian" requirement is already included, is it not? So I assumed that you want the current conditions but with an added condition for column D - the formula I posted is meant to do that - did it work for you?

regards, barry
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

828 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