Solved

excel formula need to add a NOT equal value

Posted on 2015-02-07
4
52 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
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;…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

840 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