Solved

excel formula need to add a NOT equal value

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

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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 briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

713 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