Great question re case sensitive formulas

Sprackers

New Member
Joined
Aug 9, 2017
Messages
31
Hi all

Here is something that is going to be tricky.

Im using the below formula to compare two columns of account ID's and highlight matches.

=IF(ISNA(MATCH(A111,F:F,0)),"",INDEX(F:F,MATCH(A111,F:F,0)))

this formula works very well ....except

The Account ID's are in this type:

[TABLE="width: 146"]
<tbody>[TR]
[TD="class: xl65, width: 146, align: left"]
a3P580000005nNH


[/TD]
[/TR]
</tbody>[/TABLE]

Now here is where the formula falls down: It is highlighting a3P580000005nNH as the same as a3P580000005nNh


The difference is that last letter is in lower case on one Account and upper on another.

But they are two completely different Accounts.

Is there an addition to the above formula to match case sensitive also?

Regards

Sprackers
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi, you can try like this:

=IF(ISNUMBER(MATCH(TRUE,INDEX(EXACT(A111,$F$1:$F$1000),0),0)),A111,"")

For performance reasons avoid full using full column references.
 
Upvote 0
I really think you should make great strides to make the account number NOT case sensitive.

There is a whole world of pain just waiting to happen forcing EVERY system that interacts with those numbers, including humans to differentiate between two virtually identical numbers and call them different.
 
Upvote 0
totally agree and I will put that forward. in the meantime thanks for the formula update I will implement it.

Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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