简体   繁体   中英

How to match Two columns with case sensitive in excel?

Hi I have 2 columns A and B , in column CI need to display true if value in column A exists in Column B with exact case sensitive else false. How can I achieve this? I use vlookup and match functions but those are not matching columns with case sensitive. Any help will be appreciated.

EXACT MATCH Formula

Searches for an exact (case-sensitive) match of the value of a cell of column A , in a range in column B and returns TRUE if found, FALSE if not found or "" if cell value is "".

The following is an array formula and has to be entered by
holding LEFT CTRL SHIFT and pressing ENTER :

 =IF(A1="","",NOT(ISERROR(MATCH(TRUE,EXACT(A1,B$1:B$10),0)))) 

Afterwards in the formula bar it will look like this (braces {...} ):

{=IF(A1="","",NOT(ISERROR(MATCH(TRUE,EXACT(A1,B$1:B$10),0))))}

EXACT函数用于查找区分大小写的比较。

=ISNUMBER(AGGREGATE(14, 7, ROW(A:A)/EXACT(A1, B$1:B$999), 1))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM