Solved

excel formula need to add a NOT equal value

Posted on 2015-02-07
4
50 Views
Last Modified: 2015-02-09
I have the following formula that works fine:
=SUMIFS(Report!H:H,Report!L:L,"Civilian",Report!N:N,"04*")+SUMIFS(Report!H:H,Report!L:L,"Civilian",Report!N:N,"05*")

But a new wrinkle popped in, I can't add values that have the word Commit in column D.  How would that impact the formula above?

Thanks
0
Comment
Question by:Matt Pinkston
4 Comments
 
LVL 21

Accepted Solution

by:
Ejgil Hedegaard earned 250 total points
ID: 40595714
Use the criteria "<>*Commit*" like this
=SUMIFS(Report!H:H,Report!L:L,"Civilian",Report!N:N,"04*",Report!D:D,"<>*Commit*")+SUMIFS(Report!H:H,Report!L:L,"Civilian",Report!N:N,"05*",Report!D:D,"<>*Commit*")

Open in new window

0
 
LVL 13

Expert Comment

by:Mark Bullock
ID: 40595729
You could use a formula like the following to return the number or 0 if it's not a number:
if(isnumber(yourcell),yourcell,0)

Open in new window

0
 
LVL 29

Assisted Solution

by:IrogSinta
IrogSinta earned 250 total points
ID: 40595872
You can combine both SumIfs into one this way:
=Sum(SUMIFS(Report!H:H,Report!L:L,"Civilian",Report!N:N,{"04*","05*"},Report!D:D,"<>*Commit*"))

Open in new window


Ron
0
 

Author Closing Comment

by:Matt Pinkston
ID: 40598071
Excellent, thanks go me the data I needed
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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

912 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

20 Experts available now in Live!

Get 1:1 Help Now