Solved

Syntax, sumif

Posted on 2013-02-05
2
166 Views
Last Modified: 2013-02-05
Hi, i get a syntax in the below.  I added iif(A2 = "","", and not sure where I need the parenthesis.  Thank you.  The sumif works fine without the addition.  


=iif(A2 = "","",(SUMIF(Magal!$F$2:$F$200,Summary!A2,Magal!$D$2:$D$200)+SUMIF(Jack!$F$2:$F$201,Summary!A2,Jack!$D$2:$D$201)+SUMIF(Tony!$F$2:$F$200,Summary!A2,Tony!$D$2:$D$200))
0
Comment
Question by:pdvsa
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 400 total points
Comment Utility
Surely just IF.....?

=IF(A2="","",SUMIF(Magal!$F$2:$F$200,Summary!A2,Magal!$D$2:$D$200)+SUMIF(Jack!$F$2:$F$201,Summary!A2,Jack!$D$2:$D$201)+SUMIF(Tony!$F$2:$F$200,Summary!A2,Tony!$D$2:$D$200))

and perhaps the first A2 should be Summary!A2?

regards, barry
0
 

Author Closing Comment

by:pdvsa
Comment Utility
Perfect.  thank you barry!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

771 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

14 Experts available now in Live!

Get 1:1 Help Now