Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Syntax, sumif

Posted on 2013-02-05
2
Medium Priority
?
177 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
[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
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 1600 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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…

618 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