Solved

Syntax, sumif

Posted on 2013-02-05
2
167 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
ID: 38857727
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
ID: 38857752
Perfect.  thank you barry!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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 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 …

911 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

21 Experts available now in Live!

Get 1:1 Help Now