IF COUNTIF function not working correctly

Helloitsme

New Member
Joined
Feb 19, 2021
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hello all, unfortunately I can't get XL2BB program to work, so I'll try to describe my issue. It is likely an easy fix but I just can't seem to wrap my head around it.


LineValueLineValueUnique?
FIBER DSL 029860000COAX I/E-KUNDE 028020000X
TASTET AF: 076604000FIBER DSL 029860000X
M104895 076604000TASTET AF: 076604000

Basically, I'm looking at the "Unique?" column. In this column I have used the following function:
=IF(COUNTIF(B:B;E2)>1;"";"X")

I want the column to fill in an X, when it detects a unique value that is not present in the left table. However, the "Fiber DSL" value is clearly visible in the left table, and I don't understand why an X is returned for this one.

Any help is greatly appreciated!
 
I can't really tell anything from that as I can't see where or if 76603700 is in column B. Can you make up a small sample sheet where that circumstance occurs, perhaps by copying the worksheet and deleting most of the rows but keeping the problem, and posting all of it with XL2BB?
I figured it out, seems just my assumptions were wrong, everything is as it should be except my Excel search function seems to be acting up, hence my assumptions... Sorry for the trouble everyone but thanks for bearing over with me :)

Hope you all have a great day!
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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