Checking 2 columns of data, to report data NOT found.

apexRaiden

New Member
Joined
Oct 7, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
My goal: I have a list of entries that includes 2 types of data in it. I need to check each cell against 2 columns of data. If it's there, I want the result cell to be BLANK. If it's NOT there, I want it to report the first function's results.

Ultimately, I am trying to find missing information and showcase that missing information. The data in column A is mixed with cells with JUST TEXT and cells with JUST NUMBERS AND DOTS. MAYBE I'm going about it the wrong way? But I feel like I'm so close. Here is the formula I'm currently banging my head against:

=IF(ISERROR(VLOOKUP($A2,C:C,1,FALSE)),"",IF(ISERROR(VLOOKUP($A2,D:D,1,FALSE)),"",$A2))

I keep going back and forth of rewriting it and I seem to only be able to get it to work on finding MATCHES but can't get it to work on finding MISSING ones.

Example...

Column A, Row 1 has data.
Check ALL of column C if that data is in any of the cells. No?
Check ALL of column D if that data is in any of the cells. No?
Report Column A, Row 1 data.

Column A, Row 2 has data.
Check ALL of column C if that data is in any of the cells. Yes?
Stop formula. Report a blank cell.

Column A, Row 3 has data.
Check ALL of column C if that data is in any of the cells. No?
Check ALL of column D if that data is in any of the cells. Yes?
Stop formula. Report a blank cell.

Thanks for your time!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Just commenting on the post to get it some more traction for the day.
 
Upvote 0
How about
Excel Formula:
=IF(COUNTIFS(C:C,A2),"",IF(COUNTIFS(D:D,A2),"",A2))
 
Upvote 0
Solution
Fluff... I want to give you the biggest hug ever... Thank you SO much!
 
Upvote 0
Countifs will return 0 if the value isn't in col C & that is treated as false in this context, otherwise it's treated as true.
 
Upvote 0
Countifs will return 0 if the value isn't in col C & that is treated as false in this context, otherwise it's treated as true.
So if i do want a TRUE statement on something NOT being there, I use countifs?
 
Upvote 0
No, countifs just counts how many times a value occurs in the range.
 
Upvote 0

Forum statistics

Threads
1,214,423
Messages
6,119,398
Members
448,892
Latest member
amjad24

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