lundi 22 juin 2015

Comparing cell contents against string in Excel

Following is my table

file:*.css  file:*.csS
file:*.PDF  file:*.PDF
file:*.ppt  file:*.xls
file:*.xls  file:*.doc
file:*.doc  file:*.CFM
file:*.dot  file:*.cfc
file:*.CFM  file:*.CFC
file:*.cfc  file:*.DOC

I need a formula to populate the H column with True or False if it finds column G in column F (exact case).

I used following but nothing seems to be resulting correct value, either it fails with case or if the same row didn't match returns false.

1 =IF(F2=(G$2:G$43), "True", "false") -> returns false if the same row didn't match.

2. =EXACT(F2,G$2:G$43) -> same as above

3. =MATCH(F2,G$2:G$41,0) -> fails with case sensitive.

4. =MATCH (TRUE, EXACT ( G$2:G$41, F2 ), 0 ) -> fails like #1

Aucun commentaire:

Enregistrer un commentaire