Using wildcards at the beginning of formulae in Excel 97

  • Thread starter Ejnar Sørensen
  • Start date
E

Ejnar Sørensen

I have a formula that I am using similar to: =IF(A1="*licence",TRUE,FALSE

However, this does not equate to TRUE if A1 if the contents ends with the word licence

Is this a bug? and how can I get round this/change it so that I would be able to do the same thing

thanks

Ejnar Sørensen
 
P

Paul

Ejnar Sørensen said:
I have a formula that I am using similar to: =IF(A1="*licence",TRUE,FALSE)

However, this does not equate to TRUE if A1 if the contents ends with the word licence.

Is this a bug? and how can I get round this/change it so that I would be able to do the same thing?

thanks,

Ejnar Sørensen

You could use
=IF(RIGHT(A1,7)="licence",TRUE,FALSE)

Or, more simply,
=RIGHT(A1,7)="licence"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top