Sumifs - cells that did not match -- conditional format --Lookup, search, partial match, multiple criteria, lists, duplicate,

shakethingsup

Board Regular
Joined
May 21, 2017
Messages
64
Office Version
  1. 365
Platform
  1. Windows
Hello - I spent the past hour or so searching google and the forums. I can't find exactly what I'm looking for and that's probably because I don't know exactly what I'm looking for.

My real goal is to find and highlight cells that did not get summed up. I.e. if I have a sumifs formula with a dynamic range using indirect, I then want to know, which cells did not sum up and highlight those.

ABCDEFGH
1list 1 - "year" list 2 - "nature"raw data column 1 - "year" - raw data column 2 - "nature"Raw data column 3 - valueHelper column 1helper column 2
22013Cost plus2012Cost plus margin10This should be highlighted as it didn't meet the criteria
32014Cost plus2013Cost plus margin with credit20Included in sum=iferror(lookup(1e+100,search(year,rawdatacolumn1),year),"")
42015Cost exp2014Margin included cost plus pricing30Included in sum
52014Cost plus nothing20Included in sum
2015This was a cost exp item40Included in sum

1. I use a sumifs formula, dynamic range, and partial/wildcard search
-the user has entered in 3 year criteria and 3 nature criteria
-the excel file will search for those combinations and sum

2. The cells (multiple) that don't sum up - how do I highlight those? - these are exceptions - I need a way of highlighting exceptions


I got some ideas from here:

So I tried breaking this down into steps and creating helper columns to figure out the logic but just couldn't get it. If i can get Trues, falses for all my criteria, I can then create a conditional format if all items are true.

The user at their discretion can change list 1 and list 2 - i.e. these are the search criteria to search any data that is plugged into rawdata column 1, 2 and 3.

did this make sense?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Can't remember if this works in 2013 or not, but try
+Fluff v2.xlsm
ABCDE
1list 1 - "year"list 2 - "nature"raw data column 1 - "year" -raw data column 2 - "nature"Raw data column 3 - value
22013Cost plus2012Cost plus margin10
32014Cost plus2013Cost plus margin with credit20
42015Cost exp2014Margin included cost plus pricing30
52014Cost plus nothing20
62015This was a cost exp item40
7
Work
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:E6Expression=SUM(COUNTIFS($C2,$A$2:$A$4,$D2,"*"&$B$2:$B$4&"*"))=0textNO
 
Upvote 0
Solution
You're welcome & thanks fort he feedback.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top