COUNTIF Finding Value not there

Maddogg4Life

New Member
Joined
Dec 2, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am running a data validation between 2 systems so I downloaded the data into two different tabs used CONCATENATE to combine location, reference number, item and quantity to create a unique key value. When I run the COUNTIF looking for the key in the target sheet it returns a value of 1 but when I filtered and searched for that value in the target sheet it cannot find it. We changed to a VLOOKUP and got the expected results but still cannot figure out why the COUNTIF failed and why it thinks it found the KEY in the target sheet.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the MrExcel board!
To try to work out why the COUNTIF is not doing what is expected, we would need some smallish sample data from the two tabs and an explanation in relation to the sample data.
See XL2BB for providing sample data that we can test with.
 
Upvote 0
Is your location numeric by any chance ?
If in your Vlookup you add the 2 lots of double dashes as shown below, does it find it then ?
Excel Formula:
=VLOOKUP(--C6,--Sheet2!A3:A7,1,FALSE)
 
Upvote 0

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